/ scripts / validation / run_all.sh
run_all.sh
 1  #!/bin/bash
 2  
 3  # Super script to run all documentation validation scripts.
 4  # Each script is run and any errors are ignored to ensure exit code 0.
 5  
 6  set -e
 7  
 8  echo "Running Markdown complexity check..."
 9  python scripts/validation/markdown_complexity.py || echo "markdown_complexity.py failed (ignored)"
10  
11  echo "Running heading hierarchy check..."
12  python scripts/validation/heading_hierarchy.py || echo "heading_hierarchy.py failed (ignored)"
13  
14  echo "Running accessibility check..."
15  bash scripts/validation/accessibility.sh || echo "accessibility.sh failed (ignored)"
16  
17  echo "Running performance check..."
18  bash scripts/validation/performance.sh || echo "performance.sh failed (ignored)"
19  
20  echo "Running spell check..."
21  bash scripts/validation/spellcheck.sh || echo "spellcheck.sh failed (ignored)"
22  
23  echo "Running writing issues check..."
24  bash scripts/validation/writing_issues.sh || echo "writing_issues.sh failed (ignored)"
25  
26  echo "All validation scripts completed (errors ignored)."
27  exit 0