diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 103a5ea2..f51d87e3 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,11 +6,7 @@ python: path: . extra_requirements: - dev - - method: pip - packages: - - sphinx==5.3.0 - - sphinxcontrib-asyncio - - sphinx_rtd_theme + - docs build: os: ubuntu-24.04 diff --git a/pyproject.toml b/pyproject.toml index a2721bf5..f3c1118e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,6 +43,11 @@ dev = [ "pytest-asyncio", "Twine", ] +docs = [ + "sphinx==5.3.0", + "sphinxcontrib-asyncio", + "sphinx_rtd_theme", +] [project.urls] "Homepage" = "https://juju.is/docs/sdk" diff --git a/tox.ini b/tox.ini index f3e80d42..1e6071c0 100644 --- a/tox.ini +++ b/tox.ini @@ -21,10 +21,7 @@ passenv = [testenv:docs] deps = - .[dev] - sphinx==5.3.0 - sphinxcontrib-asyncio - sphinx_rtd_theme + .[dev,docs] allowlist_externals = rm commands =