Skip to content

Commit

Permalink
Point to requirements file when building docs
Browse files Browse the repository at this point in the history
This applies both to the RTD builds and to the GHA builds, which default
to installing requirements.txt via the sphinx-action action.

Signed-off-by: Rodrigo Tobar <[email protected]>
  • Loading branch information
rtobar committed Jul 4, 2024
1 parent 81d2a8d commit 6f81e0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ jobs:
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "doc"
pre-build-command: 'pip install -U sphinx_rtd_theme docutils'
4 changes: 4 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ submodules:
sphinx:
configuration: doc/conf.py
fail_on_warning: true

python:
install:
- requirements: doc/requirements.txt

0 comments on commit 6f81e0e

Please sign in to comment.