File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 sudo apt-get update
4949 sudo apt-get install --no-install-recommends calibre pandoc
5050
51+ - name : Validate Book Content
52+ run : ./bin/check.sh
53+
5154 - name : Build Documentation
5255 working-directory : ./book
5356 run : |
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
6+
7+ echo " Running all validation checks..."
8+ echo " "
9+
10+ # Run cross-reference check
11+ echo " === Checking cross-references ==="
12+ " $SCRIPT_DIR /check-refs.sh"
13+ echo " "
14+
15+ # Run formatting check
16+ echo " === Checking code block formatting ==="
17+ " $SCRIPT_DIR /check-formatting.sh"
18+ echo " "
19+
20+ echo " ✓ All validation checks passed"
Original file line number Diff line number Diff line change 22
33set -e
44
5- # Check for orphaned cross-references
6- ./bin/check-refs.sh
7-
8- # Check formatting
9- .bin/check-formatting.sh
5+ # Validate asciidoc structure and formatting
6+ ./bin/check.sh
107
118# create the target directory for where the book will build
129rm -rf target
You can’t perform that action at this time.
0 commit comments