| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f3e0ece commit 9e73cac
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -51,10 +51,7 @@ matrix: | |||
| 51 | 51 | env: TESTING=docs | |
| 52 | 52 | before_script: | |
| 53 | 53 | - cd Doc | |
| 54 | - # Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures. | ||
| 55 | - # (Updating the version is fine as long as no warnings are raised by doing so.) | ||
| 56 | - # The theme used by the docs is stored separately, so we need to install that as well. | ||
| 57 | - - python -m pip install sphinx==2.2.0 blurb python-docs-theme | ||
| 54 | + - make venv PYTHON=python | ||
| 58 | 55 | script: | |
| 59 | 56 | - make check suspicious html SPHINXOPTS="-q -W -j4" | |
| 60 | 57 | - name: "Documentation tests" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -143,7 +143,7 @@ clean: | |||
| 143 | 143 | venv: | |
| 144 | 144 | $(PYTHON) -m venv $(VENVDIR) | |
| 145 | 145 | $(VENVDIR)/bin/python3 -m pip install -U pip setuptools | |
| 146 | - $(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.3.1 blurb python-docs-theme | ||
| 146 | + $(VENVDIR)/bin/python3 -m pip install -r requirements.txt | ||
| 147 | 147 | @echo "The venv has been created in the $(VENVDIR) directory" | |
| 148 | 148 | ||
| 149 | 149 | dist: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,12 @@ | |||
| 1 | - # Requirements for docs build on netlify | ||
| 2 | - # Pin sphinx to version specified in .travis.yml | ||
| 3 | - sphinx==2.2.0 | ||
| 1 | + # Requirements to build the Python documentation | ||
| 2 | + | ||
| 3 | + # Sphinx version is pinned so that new versions that introduce new warnings | ||
| 4 | + # won't suddenly cause build failures. Updating the version is fine as long | ||
| 5 | + # as no warnings are raised by doing so. | ||
| 6 | + sphinx==2.4.4 | ||
| 7 | + | ||
| 4 | 8 | blurb | |
| 9 | + | ||
| 10 | + # The theme used by the documentation is stored separately, so we need | ||
| 11 | + # to install that as well. | ||
| 5 | 12 | python-docs-theme | |
| Back | FazBrowse Home | New Git URL |
0 commit comments