# HG changeset patch # User Natacha Da Riba # Date 1672763209 -3600 # Tue Jan 03 17:26:49 2023 +0100 # Node ID 4a96ea27f81c4399436e48331380fa40f73059c4 # Parent cc8f632d7fef062378a25ce164ca37feb61f53cb doc: add readthedocs config diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,9 @@ +version: 2 + +python: + version: "3.8" + install: + - method: pip + path: . + extra_requirements: + - doc diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,4 @@ +sphinx == 4.5.0 +sphinx-rtd-theme +sphinx-autoapi +pydata-sphinx-theme \ No newline at end of file diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -23,11 +23,14 @@ 'pml', 'pygments', 'croniter', - 'sphinx == 4.5.0', - 'sphinx-rtd-theme', - 'sphinx-autoapi', - 'pydata-sphinx-theme' ], + extras_require={ + 'doc': [ + 'sphinx == 4.5.0', + 'sphinx-rtd-theme', + 'sphinx-autoapi', + 'pydata-sphinx-theme' + ]}, package_data={'tshistory_refinery': [ 'refinery_static/*', 'templates/*',