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
  • Loading branch information
huddlej committed Sep 18, 2023
1 parent 4786d3c commit 9b2985e
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/conda.yml

0 comments on commit 9b2985e

Please sign in to comment.