diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index c9e56dc9..f0e565f2 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -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' diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 71532212..6f79128e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,3 +10,7 @@ submodules: sphinx: configuration: doc/conf.py fail_on_warning: true + +python: + install: + - requirements: doc/requirements.txt