From 4e4b4df14338c24a01ba9b424495c4b1f0bc0334 Mon Sep 17 00:00:00 2001 From: Poruri Sai Rahul Date: Wed, 14 Jul 2021 15:38:20 +0530 Subject: [PATCH] DEV : Add a RtD config file and add a new "docs" extras_require to make it easy to build the docs new file: .readthedocs.yaml modified: chaco/__init__.py --- .readthedocs.yaml | 12 ++++++++++++ chaco/__init__.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 000000000..963f56f26 --- /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/chaco/__init__.py b/chaco/__init__.py index 217ed0dc0..4e09e98a9 100644 --- a/chaco/__init__.py +++ b/chaco/__init__.py @@ -15,5 +15,6 @@ __extras_require__ = { + "docs": ["enthought-sphinx-theme", "sphinx"], 'examples': ['encore', 'scipy', 'pandas'] }