summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2021-11-07 11:13:06 +0100
committerAntoine Eiche <lewo@abesis.fr>2021-11-07 11:13:06 +0100
commit9d3a87905e8476b7624168ff41416465ff794ee6 (patch)
tree08ac511017d31141960942795ba55cc52b46677a
parentef8ca96c5d0097a0feaf6059a9b012001a096a7f (diff)
docs: add .readthedocs.yml conf file to pin Python dependenciespin-rtd
-rw-r--r--.readthedocs.yaml21
-rw-r--r--docs/requirements.txt2
2 files changed, 23 insertions, 0 deletions
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 0000000..3918d82
--- /dev/null
+++ b/.readthedocs.yaml
@@ -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
diff --git a/docs/requirements.txt b/docs/requirements.txt
new file mode 100644
index 0000000..1b9a4f8
--- /dev/null
+++ b/docs/requirements.txt
@@ -0,0 +1,2 @@
+sphinx==4.0.2
+sphinx_rtd_theme==0.5.2