sphinx-fix

Diagnose a failing Ray Sphinx / Read the Docs documentation build. Parses the Sphinx warning stream (an RtD build log, a local build, or pasted text), classifies each warning against a rules table, and proposes the canonical fix in severity-tier order. Detects a hard-broken build, segregates known-benign suppressed classes, and lists every unclassified warning. Use when a `docs/readthedocs.com:anyscale-ray` check fails, when asked "why is the docs build failing?" or "what warning is breaking this PR?", or to turn a Sphinx warning dump into an ordered fix list.

Install
npx skills add 'https://github.com/ray-project/ray/tree/master/doc/.claude/skills/sphinx-fix'
Download bundle ↓
master · 39882c6Scanned 2026-09-17

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗
View on GitHub
← Back to SKILL.md
Build: state=Finished  success=False  exit=1  build finished with problems, 1 warning. Findings (1):  Tier 3 — warnings:    [T3] intersphinx-inventory-unreachable  (no location)          msg:    failed to reach any of the inventories with the following issues:          fix:    Check that doc/source/_intersphinx/<project>.inv exists and is committed (it should start with the bytes '# Sphinx inventory version'). If it is missing, that is the defect -- run `python doc/source/_intersphinx/refresh.py <project>` and commit it. If the snapshot is present and intact, the local read itself failed (permissions, a bad exclude_patterns change, or the file was truncated); re-check the snapshot before blaming the network. Only if the project is absent from _intersphinx_targets is the upstream URL in conf.py the thing to confirm. This is not a per-page content fix.          safety: judgment (needs your call) Unclassified (0) — no rule matched; resolve with the user, then file a skill-improvement ticket to add a rule: Suppressed (0) — known-benign, not actionable: Next: apply the fixes above, then rebuild and re-run to confirm clean.