Skip to content

Commit

Permalink
Specify Read the Docs build OS
Browse files Browse the repository at this point in the history
Read the Docs will soon require the specification of a build OS in our
configuration file [1] and have already started temporary enforcement of
this requirement as a warning. This commit follows the example in the
RTD docs for conda environments [2], adding a `build` block using the
latest supported Ubuntu and mambaforge.

[1] https://blog.readthedocs.com/use-build-os-config/
[2] https://docs.readthedocs.io/en/stable/config-file/v2.html#conda

Co-authored-by: John Huddleston <[email protected]>
  • Loading branch information
victorlin and huddlej committed Sep 19, 2023
1 parent 5274bbb commit 433b42d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
version: 2

build:
os: "ubuntu-22.04"
tools:
python: "mambaforge-22.9"

conda:
environment: docs/environment.yml

0 comments on commit 433b42d

Please sign in to comment.