From ac465f652a444db45d56ec4b56059e4f67d6bef4 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Sat, 23 Sep 2023 19:43:10 -0400 Subject: RTD YAML update --- .readthedocs.yml | 16 ---------------- sites/docs/.readthedocs.yaml | 13 +++++++++++++ sites/www/.readthedocs.yaml | 13 +++++++++++++ 3 files changed, 26 insertions(+), 16 deletions(-) delete mode 100644 .readthedocs.yml create mode 100644 sites/docs/.readthedocs.yaml create mode 100644 sites/www/.readthedocs.yaml diff --git a/.readthedocs.yml b/.readthedocs.yml deleted file mode 100644 index e8bc9a31..00000000 --- a/.readthedocs.yml +++ /dev/null @@ -1,16 +0,0 @@ -version: 2 - -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 - -# 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/sites/docs/.readthedocs.yaml b/sites/docs/.readthedocs.yaml new file mode 100644 index 00000000..3212c930 --- /dev/null +++ b/sites/docs/.readthedocs.yaml @@ -0,0 +1,13 @@ +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "3.7" + +python: + install: + - requirements: dev-requirements.txt + +sphinx: + configuration: sites/docs/conf.py diff --git a/sites/www/.readthedocs.yaml b/sites/www/.readthedocs.yaml new file mode 100644 index 00000000..4f7d397e --- /dev/null +++ b/sites/www/.readthedocs.yaml @@ -0,0 +1,13 @@ +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "3.7" + +python: + install: + - requirements: dev-requirements.txt + +sphinx: + configuration: sites/www/conf.py -- cgit v1.2.3