Skip to content

Provider groups description and new providers per version table in DOCS#649

Merged
panilya merged 1 commit into
datafaker-net:mainfrom
panilya:docs/providers-per-version
Jan 25, 2023
Merged

Provider groups description and new providers per version table in DOCS#649
panilya merged 1 commit into
datafaker-net:mainfrom
panilya:docs/providers-per-version

Conversation

@panilya

@panilya panilya commented Jan 24, 2023

Copy link
Copy Markdown
Collaborator

No description provided.

@what-the-diff

what-the-diff Bot commented Jan 24, 2023

Copy link
Copy Markdown
  • Added new enum TextBlock with header and group descriptions
  • Changed the way of getting a provider's group name (e.g base, sport) from packageName to using reflection API
  • Refactored extractCommentFromJavadoc method: added extracting since tag for each Faker(provider), removed fakersWithoutSinceTag parameter
  • Created providersPerVersionTable() method that extracts all versions in which were introduced new providers and counts them per version; also it calculates total number of providers per version
  • Updated constructHeaderInProvidersFile() by adding table with count of new providers per Datafaker version + total number of existing ones at this moment

Comment thread src/test/java/net/datafaker/script/ProvidersDocsGenerator.java Outdated
@panilya panilya force-pushed the docs/providers-per-version branch from d4affb7 to 6b86038 Compare January 24, 2023 13:52
@panilya panilya merged commit a1e090e into datafaker-net:main Jan 25, 2023
@panilya panilya deleted the docs/providers-per-version branch January 25, 2023 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants