From 7d5bae5a50db1f58b715c9aa7b95d357c0ba84b5 Mon Sep 17 00:00:00 2001 From: Toby Harradine Date: Thu, 7 Feb 2019 10:30:01 +1100 Subject: [PATCH] Use V2 of RTD's configuration file (#2418) Signed-off-by: Toby Harradine --- .readthedocs.yml | 13 +++++++++---- docs/requirements.txt | 2 ++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 docs/requirements.txt diff --git a/.readthedocs.yml b/.readthedocs.yml index 9bda297eb..7634080ca 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,3 +1,5 @@ +version: 2 + formats: - pdf @@ -6,7 +8,10 @@ build: python: version: 3.7 - pip_install: true - extra_requirements: - - docs - - mongo + install: + - requirements: docs/requirements.txt + - method: pip + path: . + extra_requirements: + - docs + - mongo diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..c3655b9dd --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +# We still need this because RTD is special +setuptools==40.8.0