From 6e1eb02f227b5694f537db65534f7bd9358c90e9 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 7 Mar 2025 14:03:10 -0500 Subject: [PATCH] [CI] Warn about spec pages without level 1 headings --- scripts/content-modules/adjust-pages.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/content-modules/adjust-pages.pl b/scripts/content-modules/adjust-pages.pl index 5115926ecded..ac3aad9cf519 100755 --- a/scripts/content-modules/adjust-pages.pl +++ b/scripts/content-modules/adjust-pages.pl @@ -155,6 +155,9 @@ () # printf STDOUT "$ARGV Got:$lineNum: $_" if $gD; if ($file ne $ARGV) { + # Did the previous file not have a title? + warn "WARN: $file: no level 1 heading found, so no page will be generated" + if $file && $lineNum && ! $title; $file = $ARGV; $frontMatterFromFile = ''; $title = '';