Skip to content

Point the torchmetrics intersphinx inventory at its new address - #55

Merged
avgvi merged 1 commit into
mainfrom
docs/torchmetrics-inventory
Oct 20, 2026
Merged

avgvi merged 1 commit into
mainfrom
docs/torchmetrics-inventory

Conversation

@avgvi

@avgvi avgvi commented Oct 20, 2026

Copy link
Copy Markdown
Member

The documentation build fails on every pull request since torchmetrics moved its docs. The intersphinx inventory configured in docs/source/conf.py, https://torchmetrics.readthedocs.io/en/latest/objects.inv, now redirects to https://lightning.ai/docs/torchmetrics/latest/objects.inv, which returns 404. Sphinx reports it as a warning, and with warnings treated as errors both the docs job and the Read the Docs build fail. Main last built its docs on 2026-10-12, before the move.

This points the entry at https://lightning.ai/docs/torchmetrics/stable/, which serves the inventory (200; python -m sphinx.ext.intersphinx lists 3,463 torchmetrics entries with Sphinx 8.2.3). The other 13 inventories in the mapping all return 200 today. CHANGELOG line under Unreleased, Docs.

@avgvi
avgvi merged commit 1803ff6 into main Oct 20, 2026
15 checks passed
@avgvi
avgvi deleted the docs/torchmetrics-inventory branch October 20, 2026 22:54
@avgvi avgvi mentioned this pull request Oct 23, 2026
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