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.

Signed-off-by: Rodrigo Tobar <[email protected]>
  • Loading branch information
rtobar committed Jul 4, 2024
1 parent 5c9b25e commit f5a92f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "doc"
pre-build-command: 'pip install -U sphinx_rtd_theme docutils'
pre-build-command: 'pip install -r doc/requirements.txt'
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 f5a92f1

Please sign in to comment.