Skip to content

Docs: redirect targets need the .html suffix - #61

Merged
mmmarinho merged 1 commit into
mainfrom
docs-redirect-targets-html
Oct 28, 2026
Merged

mmmarinho merged 1 commit into
mainfrom
docs-redirect-targets-html

Conversation

@mmmarinho

Copy link
Copy Markdown
Owner

Follow-up to #60: sphinx_reredirects uses the mapping values as URIs verbatim; with the plain (non-dirhtml) html builder /en/latest/actions.html was redirecting to actions/actions (404) instead of actions/actions.html. All 24 targets were missing the suffix.

Verification: each generated stub is parsed and its target resolved against the built tree -- 24/24 now resolve to real files.

sphinx_reredirects takes the mapping values as URIs as-is, and this is
a plain (non-dirhtml) html build, so 'actions/actions' lands on a 404;
the real page is 'actions/actions.html'. All 24 targets were missing
it. Verified by parsing each generated stub and resolving its target
against the built tree (24/24 exist now).
@mmmarinho
mmmarinho merged commit 4ea84ee into main Oct 28, 2026
6 checks passed
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