Skip to content

fix: Added empty index.rst for mintlify to skip creating empty page - #167

Merged
rmad17 merged 1 commit into
mainfrom
fix/docs-clean-empty-root
Dec 2, 2026
Merged

rmad17 merged 1 commit into
mainfrom
fix/docs-clean-empty-root

Conversation

@rmad17

@rmad17 rmad17 commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Replaces the root sphinx/index.rst with 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.rst drops 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 .fjson files regenerated. With no toctree, the root index.fjson has an empty body, "title": "<no title>" and no next link. The 11 module pages lose their prev/next links and rellinks entries. The rebuild also changed the theme metadata (alabaster_version 1.0.0 to 0.7.16) and how some signatures render (Optional[X] to X | None, Callable to collections.abc.Callable).

Module pages are still built, because autoapi_add_toctree_entry = False already 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:

image
poetry install --with docs
poetry run sphinx-build -b json sphinx sphinx/json
git status sphinx/json

git status sphinx/json should show no changes. Mintlify skipping the empty root page has not been checked against a Mintlify build.

  • 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

  • I have read the Auth0 general contribution guidelines
  • I have read the Auth0 Code of Conduct
  • All existing and new tests complete without errors

@rmad17
rmad17 requested a review from a team as a code owner December 2, 2026 07:42
@rmad17
rmad17 merged commit 3d4807d into main Dec 2, 2026
8 checks passed
@rmad17
rmad17 deleted the fix/docs-clean-empty-root branch December 2, 2026 07:45
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