Skip to content

Commit

Permalink
use poetry dependency group for doc tools;
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbc committed Nov 14, 2023
1 parent bb16cda commit f643cb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: build documentation
run: |
poetry install -E doc
poetry install --with doc
poetry run mkdocs build
- name: Deploy to GitHub Pages
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ types-requests = "^2.31.0.10"
types-python-dateutil = "^2.8.19.14"

requests-mock = "^1.9.3"
pre-commit = {version = "^2.18.1", optional = true}

[tool.poetry.group.doc.dependencies]
Jinja2 = "^3.1.2"
pymdown-extensions = "^9.4"
mkdocstrings-python = "^0.6.6"
Expand All @@ -44,7 +46,6 @@ mkdocs-autorefs = {version = "^0.3.1"}
mkdocs-material-extensions = {version = "^1.0.1"}

toml = {version = "^0.10.2", optional = true}
pre-commit = {version = "^2.18.1", optional = true}

[tool.black]
line-length = 120
Expand Down

0 comments on commit f643cb0

Please sign in to comment.