Skip to content

Commit

Permalink
setting up docs installation via pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita committed Feb 15, 2024
1 parent 78414c3 commit e2f9462
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ sphinx:

python:
install:
- requirements: docs/rtd-requirements.txt
- method: pip
path: .
extra_requirements:
- docs
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ pre-commit = {version = "*", optional = true}
pytest = {version = "*", optional = true}
ruff = {version = "*", optional = true}
sphinx = {version = "*", optional = true}
sphinx-rtd-theme = {version = "*", optional = true}
tox = {version = "*", optional = true}


Expand All @@ -193,9 +194,14 @@ dev = [
"pytest",
"ruff",
"sphinx",
"sphinx-rtd-theme",
"tox",
]
test = [
"coverage",
"pytest",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
]

0 comments on commit e2f9462

Please sign in to comment.