Skip to content

Commit

Permalink
Devops: Fix the ReadTheDocs build
Browse files Browse the repository at this point in the history
The new config requires `build.os` to be specified:
https://blog.readthedocs.com/use-build-os-config/
  • Loading branch information
sphuber committed Sep 18, 2023
1 parent aed3d7d commit 838312a
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
@@ -1,12 +1,16 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: '3.8'

# We disable all unneeded formats.
# Note that HTML and JSON are always built: https://docs.readthedocs.io/en/latest/yaml-config.html#formats
formats: []

# Need to install the package itself such that the entry points are installed and the API doc can build properly
python:
version: 3.8
install:
- method: pip
path: .
Expand Down

0 comments on commit 838312a

Please sign in to comment.