diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..e166702 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,25 @@ +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required version of readthedocs +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.10" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + + +# Declare the Python requirements required to build your docs +python: + install: + - method: pip + path: . + extra_requirements: + - doc diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 7d2467c..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -m2r2 -numpydoc -pysat diff --git a/pyproject.toml b/pyproject.toml index 56658bb..1e2e7ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ doc = [ "numpydoc", "pyproject_parser", "sphinx", - "sphinx_rtd_theme" + "sphinx_rtd_theme >= 1.2.2" ] [project.urls]