Skip to content

fix: keep index.rst empty so mintlify skips the page - #189

Merged
rmad17 merged 1 commit into
mainfrom
fix/docs-index
Dec 2, 2026
Merged

rmad17 merged 1 commit into
mainfrom
fix/docs-index

Conversation

@rmad17

@rmad17 rmad17 commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Changes

The Sphinx root page had a title, install snippet, examples link and a hidden glob toctree. Mintlify rendered it as a page of its own. This PR empties sphinx/index.rst to a single comment, so Mintlify skips it because the page has no body.

  • sphinx/index.rst is reduced to .. Intentionally empty. Mintlify skips pages with no body. (1 line added, 19 removed).
  • The 16 files under sphinx/json/**/index.fjson are regenerated build output. Their prev and next navigation links are now null and meta is {}. The hidden toctree that produced the links is gone, and the module content is unchanged.
  • No SDK source, public API, endpoints, classes, methods, error codes or dependencies change. There is no UI change and no new usage to document.

Testing

image
  • Rebuild the Sphinx docs and confirm sphinx/json/index.fjson has an empty body.
  • Confirm the Mintlify preview has no root page and that every module page still renders.
  • Not applicable: unit and integration tests, because no Python code changed.

Rollback: Revert 84ddba1 and regenerate the Sphinx JSON output. The root page and the navigation links come back.

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@rmad17 rmad17 changed the title fix: Keep index.rst empty for mintlify to skip that page fix: keep index.rst empty so mintlify skips the page Dec 2, 2026
@rmad17
rmad17 marked this pull request as ready for review December 2, 2026 06:53
@rmad17
rmad17 requested a review from a team as a code owner December 2, 2026 06:53
@rmad17
rmad17 merged commit ba9235d into main Dec 2, 2026
9 checks passed
@rmad17
rmad17 deleted the fix/docs-index branch December 2, 2026 07:19
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.

2 participants