From 7ce4865e3f7e72bd82b3ecd230bdd9cb922f4618 Mon Sep 17 00:00:00 2001 From: Poruri Sai Rahul Date: Wed, 14 Jul 2021 15:34:17 +0530 Subject: [PATCH] DEV : Add an RtD config file and add a new "docs" extras_require to make it easy to install and build the documentation new file: .readthedocs.yaml modified: setup.py --- .readthedocs.yaml | 12 ++++++++++++ setup.py | 1 + 2 files changed, 13 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..963f56f2 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,12 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +python: + version: 3.8 + install: + - method: pip + path: . + extra_requirements: + - docs diff --git a/setup.py b/setup.py index 69884f33..baf2b91a 100644 --- a/setup.py +++ b/setup.py @@ -308,6 +308,7 @@ def get_long_description(): 'traitsui', ], extras_require={ + "docs": ["enthought-sphinx-theme", "sphinx"], "test": [ "importlib-resources>=1.1.0; python_version<'3.9'", ],