feat: generate GitHub Pages nav from the docs filesystem - #10
Merged
Conversation
Scan docs folders at build time so new guides appear in the sidebar and home page without editing mkdocs.yml. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/folders at build time so new guides show up in the sidebar, home page, section indexes, and search without editingmkdocs.yml.prepare-mkdocs.pyfirst and skips bot-walled hosts. Dependabot build(deps): Bump DavidAnson/markdownlint-cli2-action from 23 to 24 #8 and build(deps): Bump actions/setup-python from 6 to 7 #9 are already merged.Test plan
python -m unittest scripts.test_catalog -vpython scripts/check-public-repo-hygiene.pypython scripts/check-internal-links.pypython scripts/prepare-mkdocs.py&&mkdocs build --strictnpx markdownlint-cli2 ""**/*.md""Made with Cursor