summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-18 11:49:41 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-18 12:43:37 +0200
commitce52007e47f0af3b1d2a6330285f86bbff0bf9bd (patch)
treec89e5a11361b8667c91669077b5ce1a0dc10c5d7
parent50c31f1f4adcb1ee54e227838a5b12b46d3006a2 (diff)
downloadastroid-git-ce52007e47f0af3b1d2a6330285f86bbff0bf9bd.tar.gz
Add .readthedocs.yaml so every contributor can change read the doc config
-rw-r--r--.readthedocs.yaml11
-rw-r--r--doc/requirements.txt1
-rw-r--r--tox.ini2
3 files changed, 13 insertions, 1 deletions
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 00000000..f3e25df5
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,11 @@
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+version: 2
+
+sphinx:
+ configuration: doc/conf.py
+
+python:
+ version: 3.7
+ install:
+ - requirements: doc/requirements.txt
diff --git a/doc/requirements.txt b/doc/requirements.txt
new file mode 100644
index 00000000..6966869c
--- /dev/null
+++ b/doc/requirements.txt
@@ -0,0 +1 @@
+sphinx
diff --git a/tox.ini b/tox.ini
index d9e08c3a..c856f713 100644
--- a/tox.ini
+++ b/tox.ini
@@ -74,6 +74,6 @@ skipsdist = True
usedevelop = True
changedir = doc/
deps =
- sphinx
+ -r doc/requirements.txt
commands =
sphinx-build -b html . build