Skip to content

Commit

Permalink
Fix the docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
twm committed Apr 30, 2023
1 parent eaebe0e commit e7625f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ formats:
- pdf
- epub

build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
version: 3.8
install:
- method: pip
path: .
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"werkzeug==2.0.3",
],
"docs": [
"sphinx>=1.4.8",
"sphinx<7.0.0", # Removal of 'style' key breaks RTD.
],
},
package_data={"treq": ["_version"]},
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ commands =
[testenv:docs]
extras = docs
changedir = docs
basepython = python3.8
commands =
sphinx-build -b html . html

Expand Down

0 comments on commit e7625f0

Please sign in to comment.