Skip to content

Commit

Permalink
build: add docs optional dipendencies to pyproject.toml
Browse files Browse the repository at this point in the history
docs dynamic dependencies are given through docs-requirements.txt
  • Loading branch information
Michele-Alberti committed Nov 11, 2024
1 parent d96fa72 commit 5274854
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ packages = ["dlunch"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements/requirements.txt"]}

[tool.setuptools.dynamic.optional-dependencies]
docs = {file = ['requirements/docs-requirements.txt']}

[tool.black]
line-length = 79
include = '\.pyi?$'
Expand All @@ -56,7 +59,6 @@ version = "3.3.0"
version_files = [
"dlunch/core.py",
"pyproject.toml:version",
"docs/conf.py:release",
]
tag_format = "v$version"
changelog_file = "changelog.md"
Expand Down
10 changes: 10 additions & 0 deletions requirements/docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
mkdocs==1.6.1
mkdocstrings==0.27.0
mkdocstrings-python==1.12.2
mkdocs-material==9.5.44
mkdocs-gen-files==0.4.0
mkdocs-literate-nav==0.6.1
mkdocs-section-index==0.3.9
mkdocs-github-admonitions-plugin==0.0.3
mike==2.1.2
black==24.10.0

0 comments on commit 5274854

Please sign in to comment.