Skip to content

Commit

Permalink
Don't use Sphinx 4 for the moment (#457)
Browse files Browse the repository at this point in the history
* Don't use Sphinx 4 for the moment

* docs, not doc
  • Loading branch information
mdickinson committed Jul 27, 2021
1 parent f18050d commit 9d36edb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
- name: Install dependencies and local packages
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install sphinx enthought-sphinx-theme
python -m pip install .
python -m pip install .[docs]
- name: Build HTML documentation with Sphinx
run: |
cd docs
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
- name: Install necessary Python packages
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install sphinx enthought-sphinx-theme
- name: Check out the PR branch
uses: actions/checkout@v2
- name: Install local package
- name: Install local package and documentation dependencies
run: |
python -m pip install .
python -m pip install .[docs]
- name: Build HTML documentation
run: |
cd docs
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_long_description():
extras_require={
"pyqt5": ["pyqt5"],
"pyside2": ["pyside2"],
"docs": ["enthought-sphinx-theme", "sphinx>=3.5"],
"docs": ["enthought-sphinx-theme", "sphinx>=3.5,<4"],
},
packages=find_packages(exclude=["ci"]),
classifiers=[
Expand Down

0 comments on commit 9d36edb

Please sign in to comment.