Commit 4fb4ea3
committed
Pin sphinx-gp-llms to the fork that fixes the .md twin links
sphinx-gp-llms links a `.md` twin beside every generated page, including
genindex and py-modindex, which have no twin. That is four dead links in
every assembled libtmux.org build, and the last four the site had.
The fix is on the private fork's fix/md-twin-link-on-generated-pages.
Upstream gp-sphinx is public and takes no push from here, so the fork is
where it lives until a release carries it.
Three things this needed, none obvious:
- Only sphinx-gp-llms is redirected, not the gp-sphinx meta-package.
Pinning the whole thing makes uv resolve its siblings from the fork
too, and they are published on PyPI at a version the fork does not
carry.
- It has to be declared as a direct dependency. It arrives transitively
through gp-sphinx, and [tool.uv.sources] only redirects direct ones.
- gp-sphinx==0.1.0a37 pins sphinx-gp-llms==0.1.0a37 while the fork
carries 0.1.0a38 — the fix plus its own bump — so the constraint is
overridden. That is narrower than rewriting the fork's version to
match a release it is ahead of.
Pinned in this worktree only. docs-site is what libtmux.org's assembly
reads; PyPI is what everyone else gets and this does not change it.
Verified by deleting .venv and re-syncing: 0.1.0a38 from git, fix
present. The previous state was a hand-patched site-packages that any
uv sync would have silently reverted.
Assembled site: 1872 pages, 403476 links checked, 0 broken.1 parent 1adeece commit 4fb4ea3
2 files changed
Lines changed: 39 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| 83 | + | |
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
| |||
288 | 293 | | |
289 | 294 | | |
290 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments