Skip to content

Commit 2b0be3e

Browse files
committed
Don't add sphinx if local documentation is not selected
Remove sphinx related packages from the dev list in pyproject if AddLocalDocumentation is false. Related to #593
1 parent b9b721f commit 2b0be3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template/pyproject.toml.jinja

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ dev = [
5151
"pytest-cov",
5252
{%- endif %}
5353
"ruff",
54+
{%- if AddLocalDocumentation %}
5455
"sphinx",
5556
"sphinx_rtd_theme",
5657
"sphinx-autoapi",
58+
{%- endif %}
5759
"tox",
5860
"myst_parser",
5961
]

0 commit comments

Comments
 (0)