Commit 82e0e0a
Fix broken canonical URLs in the example gallery (#893)
* Fix canonical URLs and stale blog base URL
html_baseurl was missing the /en/latest/ segment, so the canonical URL
Sphinx writes into every page pointed at a URL that redirects to a 404.
Old versioned builds therefore keep competing with latest in search
engines instead of transferring their ranking.
Sitemap URLs are unchanged: the version prefix moves from
sitemap_url_scheme into the base URL.
Also point blog_baseurl at www.pymc.io instead of the old docs.pymc.io
domain.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Give the gallery page a real meta description and intro
The generated gallery.rst had no description, so search engines built
the snippet from concatenated card titles ('Introductory: General
Overview Introductory Overview of PyMC Simple Linear Regression...').
The gallery page has 269k search impressions at 1.3% CTR.
Add an explicit meta description plus a one-sentence visible intro.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 5ae7aab commit 82e0e0a
2 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | | - | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
130 | | - | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
| |||
0 commit comments