-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block Editor Handbook not properly updated when two markdown files share the name (but not path) #61206
Comments
I think this would be a good approach, but not sure how to technically set it up. |
Looking at the git history of the IIRC, this is a limitation of the handbook setup: it creates pages for every entry present the I agree it'd be a nice improvement for the scripts to prevent you from committing if there's a repeated slug. |
I have opened the PR #61332 that launch an error in "build time" when duplicated slugs are detected |
Closed as per #61332 |
After merging #61143 for some reason the Quick Start Guide of the Intereactivity API meant to be at "Block Editor Handbook > Reference Guides > Interactivity API Reference > Quick Start Guide" (se toc.json) has been created at https://developer.wordpress.org/block-editor/getting-started/quick-start-guide/ (replacing the former one) and the url https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/quick-start-guide/ redirects there
The PR #61198 was created (and merged) to fix this specific update but the issue with the docs generation remains
It seems the current system generates docs of the Block Editor Handbooks when two markdown files have the same name (even when they are in different paths)
This should be either fixed or a warning should be displayed when running
npm run docs:build
and related scriptscc: @ryanwelcher @ndiego @oandregal
The text was updated successfully, but these errors were encountered: