Skip to content

build: upgrade docs to sphinx stack 2 - #608

Draft
raimundo-henriques wants to merge 1 commit into
canonical:mainfrom
raimundo-henriques:upgrade-sphinx-stack
Draft

raimundo-henriques wants to merge 1 commit into
canonical:mainfrom
raimundo-henriques:upgrade-sphinx-stack

Conversation

@raimundo-henriques

@raimundo-henriques raimundo-henriques commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The documentation did not provide an llms.txt index, which hindered LLM-based tools from discovering and navigating Snap documentation reliably.

Solution

Upgrade to v2 of the Sphinx Stack, which, among other things, provides support for llms.txt out of the box.

Notes on implementation

  • This PR does not update the cookie banner. That shall be included in a separate PR.
  • /llms.txt is not accessible from the preview deployment (returns a 403); this is due to a recent change from RTD and a known limitation; it is being generated and should be served once these changes are merged.
  • 404 custom pages are not working in the preview deployment; this is a known limitation, due to the fact that /docs/ is part of the base URL and yet the preview deployment serves the docs under /.

Upgrades the docs from v1.4 to v2, covering:
- tooling layout;
- dependency updates;
- Read the Docs warning policy;
- redirct migration; and
- support for llms-txt.
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.

1 participant