Skip to content

Commit

Permalink
readthedocs: Add a configuration file.
Browse files Browse the repository at this point in the history
This overrides the settings in the web interface, and enables much
more flexible configuration of the build environment (which previously
defaulted to Python 3.7).

https://docs.readthedocs.io/en/stable/config-file/v2.html

Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk committed Feb 4, 2023
1 parent a8ce7df commit b4ee94e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# https://docs.readthedocs.io/en/stable/config-file/v2.html
version: 2

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

sphinx:
configuration: docs/conf.py
fail_on_warning: true

python:
install:
- requirements: requirements/docs.txt
1 change: 0 additions & 1 deletion docs/requirements.readthedocs.txt

This file was deleted.

0 comments on commit b4ee94e

Please sign in to comment.