Skip to content

Commit 9cbac4c

Browse files
authored
fix(docs): dependencies installation (#2710)
- Restore dev dependencies for docs build command - Remove `--no-dev` flag to ensure typer and other dev packages are available - Export VIRTUAL_ENV for pre-commit compatibility Previously, `uv run --no-dev` caused ModuleNotFoundError for typer during docs generation. Now docs can be built with all required dependencies.
1 parent 6050ba3 commit 9cbac4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

justfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
44
# Use sh on Unix-like systems
55
set shell := ["sh", "-c"]
66

7+
export VIRTUAL_ENV := ".venv" # this requires a pre-commit
8+
79

810
[doc("All command information")]
911
default:
@@ -56,7 +58,7 @@ test-coverage-all +param="tests/":
5658

5759
# Docs
5860
_docs *params:
59-
cd docs && uv run --no-dev --group docs --frozen python docs.py {{params}}
61+
cd docs && uv run --frozen python docs.py {{params}}
6062

6163
[doc("Build docs")]
6264
[group("docs")]

0 commit comments

Comments
 (0)