Skip to content

Commit 14efb8d

Browse files
committed
👷 add docs-check to lefthook
1 parent 48bfc53 commit 14efb8d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎lefthook.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ pre-commit:
1313
glob: "*.{py,pyi}"
1414
run: uv run --no-sync tool/format_ignores.py {staged_files}
1515
stage_fixed: true
16+
docs-check:
17+
glob:
18+
- "docs/**"
19+
- "mkdocs.yml"
20+
- ".github/workflows/docs.yml"
21+
- "CONTRIBUTING.md"
22+
run: uv run --no-sync mkdocs build
23+
stage_fixed: true
1624

1725
post-checkout:
1826
commands:

0 commit comments

Comments
 (0)