Skip to content

chore: register Wave 7 pages in docs.json and add nav coverage check (Closes #122) - #135

Open
franklin251861-killer wants to merge 1 commit into
wraith-protocol:developfrom
franklin251861-killer:chore/docs-nav-coverage
Open

chore: register Wave 7 pages in docs.json and add nav coverage check (Closes #122)#135
franklin251861-killer wants to merge 1 commit into
wraith-protocol:developfrom
franklin251861-killer:chore/docs-nav-coverage

Conversation

@franklin251861-killer

Copy link
Copy Markdown

Summary

Closes #122 — Wave 7 shipped a large batch of pages that were never registered in the Mintlify navigation tree (docs.json), so readers could only reach them via search or direct link.

Changes

docs.json

  • Registered all 13 on-disk pages missing from the nav, each under its natural group:
    • Architecture: architecture/announcement-format
    • Reference: reference/stellar-networks
    • Guides: guides/stellar-quickstart (+ guides/stellar-quickstart.es per the repo's i18n convention), guides/stellar-wallet-integration
    • Integrations: blend, react-native, reflector, soroswap
    • Operations: guides/stellar/passkey-signing, guides/stellar/stellar-quickstart, guides/stellar/wraith-names-lifecycle
    • API Reference: api-reference/stealth-keys
  • Removed the dangling reference/stellar-event-schemas nav entry — the file was deleted in db12d1b and never re-added; the sidebar was linking to a 404 (confirmed by mint validate).
  • Merged the two duplicate "Integrations" groups (aquarius + nuxt) into one alphabetical group.

New: scripts/check-nav-coverage.mjs

  • Fails when an .mdx page in the shipped taxonomy is missing from docs.json, or when a nav entry has no matching file. Handles JSONC comments, nested groups, and external links.
  • Verified both failure directions locally (unregistered page → exit 1, stale nav entry → exit 1).

CI — added a "Check nav coverage" step to the "Compile docs snippets" job in .github/workflows/snippets.yml, plus check:nav-coverage in package.json (also chained into npm test).

Note on the comment header: the issue asked for a comment header in docs.json, but the Mintlify CLI (mint validate, used for "renders in mint dev") rejects comments in docs.json with "invalid JSON". Instead the audit script is documented in docs/CONTRIBUTING.md, including an explicit warning to keep docs.json comment-free.

Verification

  • pnpm run check:snippets — passed (572 snippets)
  • pnpm run check:nav-coverage — passed (59 pages / 59 nav entries)
  • mint validate — nav-related warning fixed (4 warnings → 3); the remaining 3 warnings are pre-existing MDX content issues in contracts/stellar.mdx, reference/stellar-networks.mdx, and guides/stellar-explorer-recipes.mdx, present on develop before this change and unrelated to navigation.

…loses wraith-protocol#122)

Wave 7 shipped many pages that were missing from the Mintlify navigation
tree, leaving them reachable only via search or direct link. Register every
on-disk page in its natural group, merge the duplicate Integrations groups,
drop the dangling reference/stellar-event-schemas nav entry (the file no
longer exists), and add the es locale variant next to its English source.

Add scripts/check-nav-coverage.mjs, which fails when an .mdx page is missing
from docs.json or a nav entry has no file, and wire it into the Compile docs
snippets CI job so future waves cannot skip registration.

Docs.json is strict JSON (the Mintlify CLI rejects comments), so the audit
script is documented in docs/CONTRIBUTING.md instead of a comment header.
@drips-wave

drips-wave Bot commented Aug 24, 2026

Copy link
Copy Markdown

@franklin251861-killer Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

docs.json navigation cleanup for shipped Wave 7 pages

1 participant