Skip to content

Comments

fix: use default version of pages so links don’t break#331

Merged
flying-sheep merged 2 commits intomainfrom
fix-default-rtd
Jan 27, 2026
Merged

fix: use default version of pages so links don’t break#331
flying-sheep merged 2 commits intomainfrom
fix-default-rtd

Conversation

@flying-sheep
Copy link
Member

@flying-sheep flying-sheep commented Jan 27, 2026

ReadTheDocs’ allows to change the schema (e.g. /en/latest//latest/) which can make things break: https://docs.readthedocs.com/platform/latest/user-defined-redirects.html#built-in-redirects

This makes all RTD links point to the desired page even when the default version or schema changes.

Since we follow redirects, this will still validate that the target exists.

@flying-sheep flying-sheep merged commit 446a5b9 into main Jan 27, 2026
3 checks passed
@flying-sheep flying-sheep deleted the fix-default-rtd branch January 27, 2026 09:13
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