docs: nav structure, dark-mode diagrams, basePath#136
Merged
Conversation
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
root: true+tabMode="top". Each tab lands on the section'sindex.mdx.baseOptions(docs) andhomeOptions(home + primary nav links), removing the duplicate nav strip in the docs sidebar./.color) — replaced ad-hocstyle X fill:#hexlines with semanticclassDefs pinning fill, text colour, and stroke.stateDiagram-v2toflowchart TDso dense edge labels stop overlapping."index"entries from sub-foldermeta.jsons — they were rendering as a redundant child link beneath each folder header.DOCS_BASE_PATHenv var (replacing theNODE_ENV === "production"heuristic), sopnpm build && pnpm startpreviews work locally without 404 storms.Test plan
pnpm --dir docs types:checkpassespnpm --dir docs lintpassespnpm --dir docs buildsucceeds (full static export)pnpm --dir docs startserves athttp://localhost:3000/; home, every section landing page, and a representative deep page render with no asset 404s/docs/...pages, the top-tab strip lists all five sections with the active section underlined; sidebar shows only the active section's pages