Skip to content

Modernize ReadTheDocs to use the docs dependency group - #621

Merged
ordabayevy merged 1 commit into
masterfrom
pr5-readthedocs-docs-deps
Aug 2, 2026
Merged

Modernize ReadTheDocs to use the docs dependency group#621
ordabayevy merged 1 commit into
masterfrom
pr5-readthedocs-docs-deps

Conversation

@ordabayevy

Copy link
Copy Markdown
Member

Summary

  • Replace docs/requirements.txt with pip install .[torch] --group docs in .readthedocs.yaml (Python 3.11, HTML-only, CPU torch preinstall).
  • Remove the outdated READTHEDOCS torch==1.11.0 cpu / pyro-ppl install hack from docs/source/conf.py.
  • Bump docs toolchain (nbsphinx>=0.9.8, sphinx>=6) and modernize Sphinx config (root_doc, autodoc defaults, intersphinx HTTPS URLs, RTD git env for Colab links).

Test plan

  • pip install .[torch] --group docs
  • make docs
  • Confirm ReadTheDocs preview build succeeds after merge / PR build hook

Replace docs/requirements.txt and the conf.py torch install hack with a pip
dependency-group install, HTML-only builds, and related Sphinx/RTD cleanups.
@ordabayevy
ordabayevy merged commit 87d4768 into master Aug 2, 2026
3 checks passed
@ordabayevy
ordabayevy deleted the pr5-readthedocs-docs-deps branch August 2, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants