Skip to content

Commit ba18ff6

Browse files
committed
doc: install documentaion packages for readthedocs
1 parent a77a34d commit ba18ff6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build:
1414
post_install:
1515
- pip install poetry
1616
- poetry config virtualenvs.create false
17-
- poetry install
17+
- poetry install --with docs
1818

1919
# Build documentation in the "docs/" directory with Sphinx
2020
sphinx:

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ xraylib = "^4.1.5"
3939
mock = "^5.0.1"
4040
pytest = "^7.3.1"
4141
pytest-cov = "^4.1.0"
42+
43+
[tool.poetry.group.docs.dependencies]
4244
sphinx = "^7.2.5"
4345
myst-parser = "^2.0.0"
4446
nbsphinx = "^0.9.3"

0 commit comments

Comments
 (0)