Skip to content

Commit

Permalink
Add mandatory build-os parameter to RTD config
Browse files Browse the repository at this point in the history
Our previous settings are deprecated since September 25th 2023
https://blog.readthedocs.com/migrate-configuration-v2/
  • Loading branch information
Bachibouzouk committed Apr 28, 2024
1 parent e34f01f commit eed2266
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.9"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
Expand All @@ -12,7 +19,6 @@ sphinx:
# configuration: mkdocs.yml
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: requirements/docs.txt
- requirements: requirements/default.txt
Expand Down

0 comments on commit eed2266

Please sign in to comment.