From b9dc02ed99b2ee5f0a740a676a8cadc657b7f4c4 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 | 6 ++++++ 3 files changed, 18 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..ed54fee 100644 --- a/setup.cfg +++ b/setup.cfg @@ -61,6 +61,12 @@ test = pytest-mock twine +[options.extras_require] +# These are required during doc: +doc = + Sphinx + sphinx_rtd_theme + [options.entry_points] console_scripts = gilt = gilt.shell:main