summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.readthedocs.yml15
-rw-r--r--dev-requirements.txt2
2 files changed, 14 insertions, 3 deletions
diff --git a/.readthedocs.yml b/.readthedocs.yml
index 0a214ea7..1f6737f4 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -1,10 +1,19 @@
-# NOTE: not migrating other settings into this file yet as I don't know how
-# well they'd play with our 'dual doc trees' setup. But the below should apply
-# to both equally.
version: 2
+formats: all
+
build:
# Specific version of RTD docker image that's new enough to have Rust around
# (so Cryptography can build from source if needed).
# See https://github.com/readthedocs/readthedocs-docker-images
image: "7.0"
+
+python:
+ version: 3.7
+ install:
+ - requirements: dev-requirements.txt
+ system_packages: false
+
+# NOTE: leaving sphinx.* alone as there's currently no way to differ the conf
+# file used based on project (so cannot differentiate between www and docs).
+# The web UI setting for that SHOULD take precedence?
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 9a7be339..6e1e0e76 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -20,3 +20,5 @@ releases>=1.5,<2.0
semantic_version>=2.4,<2.5
wheel==0.24
twine==1.11.0
+# Self
+-e .