Skip to content

Commit

Permalink
Update readthedocs config to use build.os
Browse files Browse the repository at this point in the history
The ReadTheDocs team deprecated the older build.image
config scheme. See this https://blog.readthedocs.com/use-build-os-config/
blog post for more information. This commit updates
our .yaml config file to use build.os

Also see:
https://docs.readthedocs.io/en/stable/config-file/v2.html#build-os
  • Loading branch information
elevans committed Oct 19, 2023
1 parent 979499a commit 01eaa28
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

# Required
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -15,6 +19,5 @@ sphinx:

# Optionally declare the Python requirements required to build your docs
python:
version: 3.8
install:
- requirements: doc/requirements.txt
- requirements: doc/requirements.txt

0 comments on commit 01eaa28

Please sign in to comment.