Skip to content

Commit 5aab508

Browse files
committed
Fix config docs update workflow
The workflow fails because Pillow system dependencies are not available, which are required by Material for MkDocs, but not the generation script. Use uv dependency groups to separate the two concerns. Signed-off-by: nscuro <nscuro@protonmail.com>
1 parent 742efad commit 5aab508

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ lint-prose:
6060
.PHONY: lint-prose
6161

6262
generate-config-docs:
63-
uv run scripts/generate_config_docs.py \
63+
uv run --only-group generate scripts/generate_config_docs.py \
6464
--template scripts/templates/config-docs.md.j2 \
6565
--output docs/reference/configuration/properties.md \
6666
$(APISERVER_PROPERTIES)

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name = "dependency-track-docs"
33
version = "0.0.0"
44
requires-python = ">=3.14"
55
dependencies = [
6-
"jinja2>=3.1.0",
76
"mike==2.2.0",
87
"mkdocs-awesome-pages-plugin==2.10.1",
98
"mkdocs-material[imaging]==9.6.14",
109
"mkdocs-rss-plugin==1.19.0",
1110
"mkdocs-swagger-ui-tag==0.8.0",
1211
]
12+
13+
[dependency-groups]
14+
generate = [
15+
"jinja2>=3.1.0",
16+
]

uv.lock

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)