Force maximum of Sphinx 3 for now

See #1851
develop
lethosor 2021-05-10 00:36:03 -04:00
parent c07ca1f324
commit 82ca4c35a5
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
2 changed files with 5 additions and 1 deletions

@ -111,7 +111,7 @@ jobs:
python-version: 3
- name: Install dependencies
run: |
pip install sphinx
pip install 'sphinx<4'
- name: Clone DFHack
uses: actions/checkout@v1
with:

@ -127,6 +127,10 @@ Required dependencies
In order to build the documentation, you must have Python with Sphinx
version |sphinx_min_version| or later. Python 3 is recommended.
.. warning::
Sphinx 4 is currently not supported. See :issue:`1851` for details.
When installing Sphinx from OS package managers, be aware that there is
another program called Sphinx, completely unrelated to documentation management.
Be sure you are installing the right Sphinx; it may be called ``python-sphinx``,