Skip to content

Commit

Permalink
Only install docs dependencies when building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daviewales committed Dec 5, 2023
1 parent 669dead commit f699585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sphinx-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: pipx install poetry
- name: Build with Sphinx
run: |
poetry install
poetry install --only docs
source $(poetry env info --path)/bin/activate
cd docs
make html
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ python = ">=3.8"
rich = ">=13.7.0"
playwright = ">=1.40.0"

[tool.poetry.group.dev.dependencies]
[tool.poetry.group.docs.dependencies]
sphinx = ">=7.0.0"
myst-parser = "^2.0.0"
sphinx-autoapi = "^3.0.0"
Expand Down

0 comments on commit f699585

Please sign in to comment.