diff --git a/.readthedocs.yaml b/.readthedocs.yaml index c31104e..04d4682 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,4 +10,7 @@ sphinx: python: install: - - requirements: docs/rtd-requirements.txt + - method: pip + path: . + extra_requirements: + - docs diff --git a/pyproject.toml b/pyproject.toml index 4a1e2f8..9b40e58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -181,6 +181,7 @@ pre-commit = {version = "*", optional = true} pytest = {version = "*", optional = true} ruff = {version = "*", optional = true} sphinx = {version = "*", optional = true} +sphinx-rtd-theme = {version = "*", optional = true} tox = {version = "*", optional = true} @@ -193,9 +194,14 @@ dev = [ "pytest", "ruff", "sphinx", + "sphinx-rtd-theme", "tox", ] test = [ "coverage", "pytest", ] +docs = [ + "sphinx", + "sphinx-rtd-theme", +]