Skip to content

Commit 85b75dd

Browse files
committed
ci: add documentation validation script to verify readme structure and version consistency
1 parent 1c91ff7 commit 85b75dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/test-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ done
1919
echo "Checking help text consistency..."
2020
./$SCRIPT_FILE --help > script-help.txt
2121

22-
if grep -E -q "## +Usage|Usage:" $README_FILE; then
22+
if grep -E -q "## .*Usage|Usage:" $README_FILE; then
2323
echo "✅ README contains usage information"
2424
else
2525
echo "❌ README missing usage information"

0 commit comments

Comments
 (0)