Skip to content

Commit

Permalink
Clean up docs install (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Oct 25, 2022
1 parent 21dba7f commit 91320b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ python:
# install itself with pip install .
- method: pip
path: .
extra_requirements:
- docs
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ Homepage = "https://github.com/jupyter/terminado"

[project.optional-dependencies]
test = [ "pytest>=7.0", "pre-commit", "pytest-timeout",]
docs = [ "sphinx", "pydata-sphinx-theme" ]

[tool.hatch.version]
path = "terminado/_version.py"

[tool.hatch.envs.docs]
dependencies = ["sphinx", "pydata-sphinx-theme"]
features = ["docs"]
[tool.hatch.envs.docs.scripts]
build = "make -C doc html SPHINXOPTS='-W'"

Expand Down

0 comments on commit 91320b5

Please sign in to comment.