From 7b436d4d2cc1506ce16c8686f14905133e7aa070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=AFo=D0=BD=D0=B8=D0=B8=CE=B3=20=C4=AFo=D0=BD=D0=B8?= =?UTF-8?q?=D0=B8=CE=B3?= Date: Sun, 15 Mar 2020 20:47:20 -0700 Subject: [PATCH] Use .readthedocs.yml (#92) --- .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 =