diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 6e561d3..7950cd8 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -13,8 +13,7 @@ jobs: - uses: actions/setup-python@v4 - name: Install dependencies run: | - pip install -r requirements.txt - pip install -r requirements_dev.txt + pip install -e .[docs] - name: Sphinx build working-directory: ${{ github.workspace }}/docs run: | diff --git a/pyproject.toml b/pyproject.toml index 8516623..ac0a6c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,7 @@ dynamic = ["version"] geoip = ["geoip2"] test = ["black", "isort", "pip-tools", "sphinx", "sphinx-material", "tox"] dev = ["black", "isort", "pip-tools", "sphinx", "sphinx-material", "tox"] +docs = ["sphinx", "sphinx-material"] [tool.setuptools.package-data] "simeon.upload" = ["schemas/*.json"] diff --git a/setup.py b/setup.py index d60353c..01b2888 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,7 @@ "geoip": ["geoip2"], "test": ["black", "isort", "pip-tools", "sphinx", "sphinx-material", "tox"], "dev": ["black", "isort", "pip-tools", "sphinx", "sphinx-material", "tox"], + "docs": ["sphinx", "sphinx-material"], }, package_data={ "simeon.upload": ["schemas/*.json"],