Skip to content

Commit

Permalink
docs(sphinx): move doc dependencies in pyproject.toml
Browse files Browse the repository at this point in the history
Fixes #31
  • Loading branch information
adosar committed Dec 31, 2024
1 parent 5e8cffa commit 308cdba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ sphinx:
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs
16 changes: 0 additions & 16 deletions docs/requirements.txt

This file was deleted.

10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,13 @@ Documentation = "https://aidsorb.readthedocs.io/en/stable/"
[project.scripts]
aidsorb = "aidsorb._cli:aidsorb_cli"
aidsorb-lit = "aidsorb._cli:lightning_cli"

[project.optional-dependencies]
docs = [
"sphinx==7.3.7",
"sphinx-rtd-theme==3.0.2",
"sphinx-copybutton==0.5.2",
"sphinx-design==0.6.0",
"sphinx-gallery==0.16.0",
"kaleido==0.2.1",
]

0 comments on commit 308cdba

Please sign in to comment.