Commit b4934a9
🔨🤖 301 legacy /en/latest URLs to canonical paths
Existing inbound links from blog posts, Slack, bookmarks etc. point at
the ReadTheDocs URL shape (/en/latest/...). Strip that segment in the
umbrella router before subproject routing so links continue to resolve
on docs-cf.owid.io and the eventual docs.owid.io cut-over.
Examples:
/projects/etl/en/latest/ → /projects/etl/
/projects/owid-grapher-py/en/latest/x → /projects/owid-grapher-py/x
/en/latest/ → /
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 80372ce commit b4934a9
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 | | |
25 | 35 | | |
26 | 36 | | |
| |||
0 commit comments