Skip to content

Commit

Permalink
Fix readthedocs fail test changing build.image into build.os (#487)
Browse files Browse the repository at this point in the history
* Empty commit

* Change deprecated build.image into build.os in the file .readthedocs.yml

* Specify ubuntu version

* Fix method to specify python version

* Fix method to specify path

* Fix method to specify path
  • Loading branch information
YannCabanes authored Oct 16, 2023
1 parent 37018ab commit 7a880ae
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.8"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
Expand All @@ -16,13 +22,11 @@ sphinx:
# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
version: 3.8
install:
- requirements: docs/requirements_rtd.txt
- method: setuptools
path: .

build:
image: latest # See: https://hub.docker.com/r/readthedocs/build/
- requirements: docs/requirements_rtd.txt
- method: setuptools
path: .

0 comments on commit 7a880ae

Please sign in to comment.