docs: surface distribution + eject/init in the docs sidebar#40
Merged
Conversation
The docs sidebar is a hand-written component, not driven by the Fumadocs meta.json files, so new pages were not appearing in the nav. - Add a Distribution group (Hosted Registry, GitHub Source Registry) - Add the missing CLI entries (Init Command, Eject)
|
The latest updates on your projects. Learn more about Vercel 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.
What
Adds the new docs pages to the rendered sidebar nav (
www/components/docs-sidebar.tsx):Why
The docs sidebar is a hand-written component, not driven by the Fumadocs
meta.jsonfiles. PRs #38 and #39 added/moved pages (eject, init, github-registries, distribution) and updatedmeta.json, but the visible sidebar was never updated — so those pages existed and served 200 but weren't reachable from the nav. This closes that gap, including the pre-existing miss whereinitandejectwere never listed.Follow-up to #39 (the sidebar commit didn't make it into that squash).
Closes #
Type
docs— DocumentationChecklist
feat/,fix/,docs/, etc.)npm run lintpassesnpm testpasses