Skip to content

Commit

Permalink
Set bound on sphinx to 7.0 and update readthedocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
albrja committed Sep 13, 2023
1 parent 5bbf7ad commit 254fd1a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,9 @@ jobs:
- name: Test
run: |
pytest ./tests
# Commenting out docs build due to upstream failures: MIC-4180
# - name: Doc build
# run: |
# make html -C docs/ SPHINXOPTS="-W --keep-going -n"
# - name: Doctest
# run: |
# make doctest -C docs/
- name: Doc build
run: |
make html -C docs/ SPHINXOPTS="-W --keep-going -n"
- name: Doctest
run: |
make doctest -C docs/
5 changes: 4 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ version: 2

# Configure the python version and environment construction run before
# docs are built.
build:
os: ubuntu-22.04
tools:
python: "3.11"
python:
version: 3.8
install:
# This runs pip install .[docs] from the project root.
- method: pip
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
]

doc_requirements = [
"sphinx>=4.0",
"sphinx<7.0",
"sphinx-rtd-theme",
]

Expand Down

0 comments on commit 254fd1a

Please sign in to comment.