Просмотр исходного кода

wikiheaders: put a header on the quick reference pages.

Ryan C. Gordon 7 месяцев назад
Родитель
Сommit
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/
     # https://blog.theprogrammingjunkie.com/post/sdl2-cheatsheet/
 
 
     if ($lowascii) {
     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 "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 "fancy Unicode section headers, try using\n";
         print $fh "[QuickReference](QuickReference) instead.\n\n";
         print $fh "[QuickReference](QuickReference) instead.\n\n";
     } else {
     } 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 "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 "the fancy Unicode section headers, try using\n";
         print $fh "[QuickReferenceNoUnicode](QuickReferenceNoUnicode) instead.\n\n";
         print $fh "[QuickReferenceNoUnicode](QuickReferenceNoUnicode) instead.\n\n";