From 4738774b6bc6ca700e3e0180af457df54aaaa43b Mon Sep 17 00:00:00 2001 From: John Dewey Date: Sun, 15 Mar 2020 20:39:29 -0700 Subject: [PATCH] Use .readthedocs.yml --- .readthedocs.yml | 12 ++++++++++++ doc-requirements.txt | 3 --- setup.cfg | 4 ++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .readthedocs.yml delete mode 100644 doc-requirements.txt diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..33a1ac9 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,12 @@ +--- +version: 2 +sphinx: + configuration: doc/source/conf.py +formats: all +python: + version: 3.7 + install: + - method: pip + path: . + extra_requirements: + - doc diff --git a/doc-requirements.txt b/doc-requirements.txt deleted file mode 100644 index d390e37..0000000 --- a/doc-requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ --e . -sphinx_rtd_theme -Sphinx diff --git a/setup.cfg b/setup.cfg index 7a7a574..d08fdca 100644 --- a/setup.cfg +++ b/setup.cfg @@ -60,6 +60,10 @@ test = pytest-helpers-namespace pytest-mock twine +# These are required during doc: +doc = + Sphinx + sphinx_rtd_theme [options.entry_points] console_scripts =