Skip to content

Commit

Permalink
Adapt .readthedocs.yml to use build.os instead of build.image
Browse files Browse the repository at this point in the history
build.image deprecated (https://blog.readthedocs.com/use-build-os-config/). adapted some other lines according to documentation (https://docs.readthedocs.io/en/stable/config-file/v2.html#build)
  • Loading branch information
katoss authored Feb 11, 2024
1 parent 8cdc86c commit da24094
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Required
version: 2

# Image to use
# Set OS and Python version
build:
image: testing
os: ubuntu-22.04
tools:
python: "3.9"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py

# Configuration
python:
version: 3.9
install:
- requirements: docs/requirements.txt
- method: pip
Expand Down

0 comments on commit da24094

Please sign in to comment.