Skip to content

Commit a10efb9

Browse files
committed
Add optional docs dependencies
1 parent 2844137 commit a10efb9

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

docs/.readthedocs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ formats: all
2222
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
2323
python:
2424
install:
25-
- requirements: docs/requirements.txt
2625
- method: pip
2726
path: .
27+
extra_requirements:
28+
- docs

docs/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ classifiers = [
1616
"Operating System :: OS Independent"
1717
]
1818

19+
[project.optional-dependencies]
20+
docs = ["sphinx", "sphinx-rtd-theme"]
21+
1922
[project.urls]
20-
"Homepage" = "https://github.com/wigging/chemics"
23+
Homepage = "https://github.com/wigging/chemics"
24+
Documentation = "https://chemics.readthedocs.io"
2125

2226
[tool.ruff]
2327
line-length = 100

0 commit comments

Comments
 (0)