diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..cfe579f --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,15 @@ +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Optionally set the version of Python and requirements required to build your docs +python: + version: 3.8 + install: + - method: pip + path: . + extra_requirements: + - docs diff --git a/setup.cfg b/setup.cfg index 25304c2..3aac550 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,6 +18,9 @@ install_requires = numpy scipy +[options.extras_require] +docs = sphinx>2.0.0 + [pycodestyle] # E203: Whitespace before ':' # W503: Line break before binary operator