Skip to content

Fix RTD build: update Ubuntu image and drop sphinx-hoverxref#34

Merged
chrizzFTD merged 1 commit into
mainfrom
cursor/fix-rtd-build-409c
Jun 30, 2026
Merged

Fix RTD build: update Ubuntu image and drop sphinx-hoverxref#34
chrizzFTD merged 1 commit into
mainfrom
cursor/fix-rtd-build-409c

Conversation

@chrizzFTD

Copy link
Copy Markdown
Contributor

Summary

Read the Docs builds were failing for two reasons:

  1. ubuntu-20.04 was removed from RTD on 2026-06-01. The config still pinned that image, so builds failed at validation.
  2. sphinx-hoverxref is incompatible with Sphinx 9 (_Opt unpacking error on config-inited). The docs extra installs unpinned Sphinx, which currently resolves to 9.x.

This PR mirrors the fix applied in naming#28.

Changes

  • .readthedocs.yml: ubuntu-20.04ubuntu-lts-latest; Python 3.133.14 (aligns with CI Python-3.14 on CI #33)
  • docs/source/conf.py: Remove hoverxref.extension and related config
  • setup.cfg: Remove sphinx-hoverxref from the docs extra

Notes

  • Intersphinx links to the naming docs still work; only hover tooltips on those external links are removed.
  • For internal link hover previews, enable Link previews under RTD → Settings → Addons (no code change required).

Test plan

  • Local docs build: python -m pip install -e ".[docs]" then python -m sphinx -W -b html docs/source docs/build
  • RTD build passes on this branch
Open in Web Open in Cursor 

Read the Docs no longer accepts ubuntu-20.04 in build.os. Update to
ubuntu-lts-latest and bump the Python toolchain to 3.14 to match CI.

Remove sphinx-hoverxref, which is incompatible with Sphinx 9 and
deprecated in favor of RTD's native Link previews addon.

Co-authored-by: chrizzftd <chrizzFTD@users.noreply.github.com>
@chrizzFTD chrizzFTD marked this pull request as ready for review June 30, 2026 08:17
@chrizzFTD chrizzFTD merged commit 3644a89 into main Jun 30, 2026
5 checks passed
@chrizzFTD chrizzFTD deleted the cursor/fix-rtd-build-409c branch June 30, 2026 08:20
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.

2 participants