瀏覽代碼

wikiheaders: put a header on the quick reference pages.

Ryan C. Gordon 9 月之前
父節點
當前提交
ac92af02ea
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      build-scripts/wikiheaders.pl

+ 2 - 0
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";