Skip to content

Commit

Permalink
docs: Add an extra key in pyproject.toml and setup.py for dependencie…
Browse files Browse the repository at this point in the history
…s related to docs
  • Loading branch information
AbdouSeck committed Dec 29, 2023
1 parent a48225a commit 7f3c810
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 7f3c810

Please sign in to comment.