From ac92af02eaf9e85f4b717b309f860822edff9f2d Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 10 Dec 2024 11:36:19 -0500
Subject: [PATCH] wikiheaders: put a header on the quick reference pages.
---
build-scripts/wikiheaders.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl
index c5c6c43d1c0e7..970e9dfd41c8c 100755
--- a/build-scripts/wikiheaders.pl
+++ b/build-scripts/wikiheaders.pl
@@ -872,10 +872,12 @@ sub generate_quickref {
# https://blog.theprogrammingjunkie.com/post/sdl2-cheatsheet/
if ($lowascii) {
+ print $fh "# QuickReferenceNoUnicode\n\n";
print $fh "If you want to paste this into a text editor that can handle\n";
print $fh "fancy Unicode section headers, try using\n";
print $fh "[QuickReference](QuickReference) instead.\n\n";
} else {
+ print $fh "# QuickReference\n\n";
print $fh "If you want to paste this into a text editor that can't handle\n";
print $fh "the fancy Unicode section headers, try using\n";
print $fh "[QuickReferenceNoUnicode](QuickReferenceNoUnicode) instead.\n\n";