Add pre-commit hook for auto-updating documentation
This commit is contained in:
7
scripts/pre-commit
Normal file
7
scripts/pre-commit
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Auto-update documentation on commit
|
||||
set -e
|
||||
|
||||
python3 scripts/update_docs.py
|
||||
|
||||
git add README.md AGENTS.md 2>/dev/null || true
|
||||
Reference in New Issue
Block a user