Add a setup for readthedocs.

This commit is contained in:
Dimitri Fontaine 2022-10-18 19:51:15 +02:00
parent 9011fcde13
commit 6d61c8c770
No known key found for this signature in database
GPG Key ID: 38096AB1A90BF6D4
2 changed files with 15 additions and 0 deletions

11
.readthedocs.yaml Normal file
View File

@ -0,0 +1,11 @@
version: 2
# Build from the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# Explicitly set the version of Python and its requirements
python:
version: 3.7
install:
- requirements: docs/requirements.txt

4
docs/requirements.txt Normal file
View File

@ -0,0 +1,4 @@
Sphinx==4.2.0
sphinx_rtd_theme==1.0.0
docutils==0.16
readthedocs-sphinx-search==0.1.0