From 39f03ac9d7529dbfe93326f2c6988434ae722e00 Mon Sep 17 00:00:00 2001 From: Duncan Macleod Date: Fri, 22 Jul 2022 16:58:59 +0100 Subject: [PATCH] docs: update rtd config (#343) --- .readthedocs.yml | 6 +++--- docs/requirements.txt | 4 ---- setup.cfg | 5 +++-- 3 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 docs/requirements.txt diff --git a/.readthedocs.yml b/.readthedocs.yml index 5e9a0d35..c32d929d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -14,8 +14,8 @@ formats: all # Set the version of Python and requirements required to build your docs python: - version: 3.7 install: - - requirements: docs/requirements.txt - - method: setuptools + - method: pip path: . + extra_requirements: + - doc diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index f60ea5ed..00000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -numpydoc -sphinx_bootstrap_theme -sphinxcontrib-programoutput -sphinx-automodapi diff --git a/setup.cfg b/setup.cfg index b36fb413..b060f649 100644 --- a/setup.cfg +++ b/setup.cfg @@ -80,10 +80,11 @@ dev = ligo-gracedb >= 2.0.0 pykerberos doc = - sphinx numpydoc + sphinx + sphinx-automodapi sphinx_bootstrap_theme - astropy_helpers + sphinxcontrib-programoutput [tool:pytest] ; print skip reasons