소스 검색

wikiheaders: put a header on the quick reference pages.

Ryan C. Gordon 4 달 전
부모
커밋
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";