Skip to content

Fix broken Read the Docs build: install sphinx_rtd_theme - #23

Merged
danielhasan1 merged 1 commit into
devfrom
fix/readthedocs-build
Aug 18, 2026
Merged

Fix broken Read the Docs build: install sphinx_rtd_theme#23
danielhasan1 merged 1 commit into
devfrom
fix/readthedocs-build

Conversation

@danielhasan1

Copy link
Copy Markdown
Owner

docs/conf.py requires sphinx_rtd_theme, but .readthedocs.yml never installed it - the requirements section was commented out and pointed at a nonexistent ex-docs/requirements.txt (the docs directory has always been docs/). Every RTD build has failed with ModuleNotFoundError: sphinx_rtd_theme as a result, including the just published v0.4.0 tag build.

Verified locally: pip install -r docs/requirements.txt in a clean venv, then the same sphinx-build invocation RTD uses, builds cleanly.

docs/conf.py requires sphinx_rtd_theme, but .readthedocs.yml never
installed it - the requirements section was commented out and pointed
at a nonexistent ex-docs/requirements.txt (the docs directory has
always been docs/). Every RTD build has failed with
ModuleNotFoundError: sphinx_rtd_theme as a result, including the just
published v0.4.0 tag build.

Verified locally: pip install -r docs/requirements.txt in a clean venv,
then the same sphinx-build invocation RTD uses, builds cleanly.
@danielhasan1
danielhasan1 merged commit ef675b3 into dev Aug 18, 2026
10 checks passed
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