Skip to content

Commit

Permalink
Set build.os on readthedocs
Browse files Browse the repository at this point in the history
Readthedocs now requires an explicit image [1] to build.

> We are announcing the deprecation of build.image config key in favor
> of build.os. Read the Docs will start requiring a build.os config key
> for all projects in order to build documentation successfully. We will
> start failing builds for projects not using “build.os” in their config
> file on October 16, 2023.

[1] https://blog.readthedocs.com/use-build-os-config/
  • Loading branch information
jokva committed Aug 17, 2023
1 parent ec833e1 commit b631677
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .readthedocs.yaml
Expand Up @@ -5,6 +5,11 @@
# Required
version: 2

build:
os: "ubuntu-22.04"
tools:
python: "3.11"

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

0 comments on commit b631677

Please sign in to comment.