diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2021-02-12 14:48:36 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2021-02-12 15:06:09 -0500 |
commit | 5ad689f70b188e11b88b63c239defcab3feac2a3 (patch) | |
tree | 0e2df1b2839f07a11374a9483d2d2b09d90f36fb | |
parent | 447b0e92555b8d6340c236bbaf96a28eeb665ce1 (diff) |
Flesh out RTD yaml a bit so things build again
Blessedly, the web's setting for which sphinx conf to use appears to
work if not overridden by the file.
-rw-r--r-- | .readthedocs.yml | 15 | ||||
-rw-r--r-- | dev-requirements.txt | 2 |
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 . |