Skip to content

chore: split SDK navigation into standalone $ref file#3773

Merged
jlowin merged 1 commit intomainfrom
chore/split-sdk-nav
Apr 6, 2026
Merged

chore: split SDK navigation into standalone $ref file#3773
jlowin merged 1 commit intomainfrom
chore/split-sdk-nav

Conversation

@jlowin
Copy link
Copy Markdown
Member

@jlowin jlowin commented Apr 6, 2026

The SDK reference navigation was ~420 lines of inline JSON in docs.json that got rewritten on every mdxify run, making docs.json diffs noisy and hard to review. This extracts it into python-sdk-pages.json using Mintlify's $ref feature, so docs.json stays stable and the bot only touches the standalone file.

Depends on mdxify v0.2.39 which added --nav-output (zzstoatzz/mdxify#39).

Use mdxify's new --nav-output flag to write the SDK pages array
to python-sdk-pages.json, referenced from docs.json via Mintlify's
$ref feature. This keeps docs.json stable across SDK doc regenerations.
@marvin-context-protocol marvin-context-protocol Bot added the enhancement Improvement to existing functionality. For issues and smaller PR improvements. label Apr 6, 2026
@jlowin jlowin merged commit eac646e into main Apr 6, 2026
9 checks passed
@jlowin jlowin deleted the chore/split-sdk-nav branch April 6, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement to existing functionality. For issues and smaller PR improvements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant