Fixing the script so that lowercase slugs are generated, README is up…#124
Merged
Fixing the script so that lowercase slugs are generated, README is up…#124
Conversation
…dated, and navigation is correctly mapped
|
Review these changes at https://app.gitnotebooks.com/wherobots/wherobots-examples/pull/124 |
Contributor
Author
|
Video of local preview: https://github.com/user-attachments/assets/e553fbfb-f6dc-41ad-b06a-35ac1ec281c2 |
Contributor
Author
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the notebook-to-docs publishing pipeline to generate lowercase MDX slugs, document the process in the README, and switch docs navigation categorization to an explicit filename→category mapping.
Changes:
- Documented the docs publishing workflow and navigation mapping requirements in
README.md. - Updated MDX conversion to always emit lowercase, hyphenated output filenames.
- Replaced prefix-based category detection with an explicit
FILENAME_TO_CATEGORYmapping.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Adds documentation on automatic notebook→MDX publishing and how to maintain nav mappings. |
| Makefile | Makes convert run clean first (and adjusts the target line). |
| .github/workflows/scripts/update_docs_navigation.py | Switches navigation categorization to an explicit filename→category dict. |
| .github/workflows/scripts/notebook_to_mdx.py | Ensures generated MDX filenames are lowercase. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rbavery
approved these changes
Feb 6, 2026
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.
…dated, and navigation is correctly mapped