From 9f45c063a4d80a1fc862df9d81e9c8ae5c99a8dd Mon Sep 17 00:00:00 2001 From: Dima Tisnek Date: Fri, 22 Nov 2024 17:21:03 +0900 Subject: [PATCH] chore: readthedocs by trial and error --- .readthedocs.yaml | 6 +----- pyproject.toml | 5 +++++ tox.ini | 5 +---- 3 files changed, 7 insertions(+), 9 deletions(-) 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 =