Files
cs249r_book/scripts
Vijay Janapa Reddi 4793ca1827 refactor: improve footnote validation script with cleanup capability
- Move script to tools/scripts/content/ to match project structure
- Add colored output with emoji indicators for better readability
- Add -f/--file and -d/--directory options for flexible input
- Add --clean flag to automatically remove unused footnote definitions
- Add --dry-run to preview cleanup without making changes
- Add --quiet mode for CI/CD pipelines
- Add --strict mode to fail on any issues
- Match style of other validation scripts in the project
- Update pre-commit hook to use new location and options

The script now provides clear visual feedback and can both validate
and fix footnote issues automatically when needed.
2025-09-06 16:07:53 -04:00
..