Move doc dependencies to requirements.txt for readthedocs (#4280)
* Move doc dependencies to requirements.txt for readthedocs * Move sphinx to doc requirements.
This commit is contained in:
parent
5b527e2c14
commit
32c570913d
@ -86,8 +86,7 @@ install:
|
|||||||
- pip install --upgrade setuptools
|
- pip install --upgrade setuptools
|
||||||
- pip install --upgrade codecov
|
- pip install --upgrade codecov
|
||||||
- pip install --upgrade flake8
|
- pip install --upgrade flake8
|
||||||
- if [[ "$TEST_SUITE" == "doc" ]]; then pip install --upgrade sphinx; fi
|
- if [[ "$TEST_SUITE" == "doc" ]]; then pip install --upgrade -r lib/spack/docs/requirements.txt; fi
|
||||||
- if [[ "$TEST_SUITE" == "doc" ]]; then pip install --upgrade sphinxcontrib-programoutput; fi
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# Need this for the git tests to succeed.
|
# Need this for the git tests to succeed.
|
||||||
|
5
lib/spack/docs/requirements.txt
Normal file
5
lib/spack/docs/requirements.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# These dependencies should be installed using pip in order
|
||||||
|
# to build the documentation.
|
||||||
|
|
||||||
|
sphinx
|
||||||
|
sphinxcontrib-programoutput
|
Loading…
Reference in New Issue
Block a user