Build Tooling: Update use of docgen to target only unstable APIs named by convention #15197
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
[Status] In Progress
Tracking issues with work in progress
[Tool] Docgen
/packages/docgen
[Type] Build Tooling
Issues or PRs related to build tooling
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Previously: #14557 (comment), #14565
The coding guidelines surrounding Unstable and Experimental APIs are very specific in how they ought to be named.
https://github.com/WordPress/gutenberg/blob/master/docs/contributors/coding-guidelines.md#experimental-and-unstable-apis
The current
docgen
script is lenient toward variations of these guidelines, due to preexisting issues described at #14557 (comment) .Task: The script should be made non-lenient.
Reason: By removing leniency, it should help make clear where coding guidelines are being violated, since the invalid token would be included (wrongly) in the generated documentation.
Blocked by: Prexisting issues should be resolved (aligned to the guideline).
The text was updated successfully, but these errors were encountered: