docs: add .readthedocs.yml conf file to pin Python dependencies

This commit is contained in:
Antoine Eiche 2021-11-07 11:13:06 +01:00
parent ef8ca96c5d
commit 9d3a87905e
2 changed files with 23 additions and 0 deletions

21
.readthedocs.yaml Normal file
View file

@ -0,0 +1,21 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
sphinx:
configuration: docs/conf.py
formats:
- pdf
- epub
python:
install:
- requirements: docs/requirements.txt

2
docs/requirements.txt Normal file
View file

@ -0,0 +1,2 @@
sphinx==4.0.2
sphinx_rtd_theme==0.5.2