Use a YAML file and Python requirements

The `.readthedocs.yaml` file is now required.

Besdies, we are not installing the Read the Docs Sphinx theme by default.
Due to that, we need to manually install it via `requirements.txt`
This commit is contained in:
Manuel Kaufmann
2023-08-16 16:46:33 +02:00
parent 35d2c35a82
commit 4dc74175cc
2 changed files with 12 additions and 0 deletions

10
.readthedocs.yaml Normal file
View File

@@ -0,0 +1,10 @@
version: "2"
build:
os: "ubuntu-22.04"
tools:
python: "3.10"
python:
install:
- requirements: docs/requirements.txt

2
docs/requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
sphinx==7.1.2
sphinx-rtd-theme==1.3.0rc1