diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-28 14:16:41 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-28 14:16:41 -0600 |
| commit | 95d31d2d7d5fd7de81d6d5e2caedcdc369ca0fcf (patch) | |
| tree | 4959b8d43268945543be4061b8fccd95d04592b1 /tests/scripts/webdocs.sh | |
| parent | 625908ab56c7c554506d61c83c7001bca19a05f6 (diff) | |
| parent | 6fe2aff8d6611bf45704ba86120efa23950bfa80 (diff) | |
| download | zash-95d31d2d7d5fd7de81d6d5e2caedcdc369ca0fcf.tar.gz | |
Merge pull request #46 from skurtz97/fix/review-2026-11-28
Fixes from the 2026-11-28 code review
Diffstat (limited to 'tests/scripts/webdocs.sh')
| -rw-r--r-- | tests/scripts/webdocs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scripts/webdocs.sh b/tests/scripts/webdocs.sh index fc4c14e..ce71193 100644 --- a/tests/scripts/webdocs.sh +++ b/tests/scripts/webdocs.sh @@ -31,9 +31,9 @@ for d in README:40:README DESIGN:50:Design; do fi # The site has a logo, its own contents list and the title, so the - # document's must be gone. + # document's must be gone. A `#` inside a code block is not a title. if grep -q 'align="center"' "$page" || grep -q '^## Contents$' "$page" || - grep -q '^# ' "$page"; then + sed '/^```/,/^```/d' "$page" | grep -q '^# '; then echo "$name header, contents or title still there WRONG" else echo "$name header, contents and title dropped ok" |
