Skip to content

Commit

Permalink
Fix sphinx config
Browse files Browse the repository at this point in the history
`build.os` is now mandatory in `.readthedocs.yml`.

(RTD will not automatically assume that you want the latest ubuntu,
which is a deliberate choice from the devs).

See readthedocs/readthedocs.org#8861 (comment).
  • Loading branch information
abravalheri committed Oct 24, 2023
1 parent 9108872 commit 8fd94f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
# Required
version: 2

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

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
Expand All @@ -17,6 +22,5 @@ formats:
- pdf

python:
version: 3.8
install:
- requirements: docs/requirements.txt

0 comments on commit 8fd94f5

Please sign in to comment.