Repository navigation
fix: Added empty index.rst for mintlify to skip creating empty page - #167
Merged
Merged
Conversation
cschetan77
approved these changes
Dec 2, 2026
3 of 6 tasks
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.
Changes
Replaces the root
sphinx/index.rstwith an empty page so Mintlify doesn't create an empty "auth0-api-python" landing page from the generated JSON. The PR changes no SDK code and adds no runtime behavior.sphinx/index.rstdrops the title and the hidden glob toctree. It now holds only a comment, so the root page has an empty body.sphinx/json/has all 12.fjsonfiles regenerated. With no toctree, the rootindex.fjsonhas an emptybody,"title": "<no title>"and nonextlink. The 11 module pages lose theirprev/nextlinks andrellinksentries. The rebuild also changed the theme metadata (alabaster_version1.0.0 to 0.7.16) and how some signatures render (Optional[X]toX | None,Callabletocollections.abc.Callable).Module pages are still built, because
autoapi_add_toctree_entry = Falsealready kept AutoAPI from depending on the root toctree.References
Testing
No unit or integration tests apply, because the PR only changes docs sources and generated JSON. To check the output:
git status sphinx/json should show no changes. Mintlify skipping the empty root page has not been checked against a Mintlify build.
Checklist