Skip to content

feat(docs): add nav registry - #53

Open
mikhd wants to merge 2 commits into
feat/1-doc-model-typesfrom
feat/2-nav-registry
Open

feat(docs): add nav registry#53
mikhd wants to merge 2 commits into
feat/1-doc-model-typesfrom
feat/2-nav-registry

Conversation

@mikhd

@mikhd mikhd commented Jul 15, 2026

Copy link
Copy Markdown

[2] Builds the navigation layer on top of the doc-model types from #52 52. Turns a Spec into a path registry every page links through.

Adds:

  • buildNavRegistry(spec, pathConfig) - the address book. Assigns each DocRef its pathSegments up front, so any page can resolve a link to any other regardless of render order.
  • categoryGroups - single source of "which entities a category holds," reused by registry, navigation, and (later) the category index so listings and links stay in agreement.
  • New CategoryGroup / CategoryGroupItem types.

mikhd commented Jul 15, 2026

Copy link
Copy Markdown
Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@mikhd
mikhd force-pushed the feat/1-doc-model-types branch from 031428e to f85956e Compare July 24, 2026 10:17
@mikhd
mikhd force-pushed the feat/2-nav-registry branch from 690cb8c to ec0d87c Compare July 24, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant