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 20, 2023
1 parent c4394dd commit d1eaecc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
version: 2

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

conda:
environment: docs/environment.yml

Expand Down

0 comments on commit d1eaecc

Please sign in to comment.