Skip to content

Commit

Permalink
Fix: run rtd pre-build script after install
Browse files Browse the repository at this point in the history
Running this before the other commands is incorrect. It requires
`scriv`, which therefore requires that doc requirements are installed.
  • Loading branch information
sirosen committed Nov 5, 2024
1 parent 55ec78a commit 9e0273b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ build:
# use 'uv pip install' to apply build customization in a pip-compatible way
# see: https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv
commands:
- bash ./scripts/rtd-pre-sphinx-build.sh
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv pip install . -r "requirements/py3.11/docs.txt"
- bash ./scripts/rtd-pre-sphinx-build.sh
- uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html

0 comments on commit 9e0273b

Please sign in to comment.