Commits

Anonymous committed a4ffbbd

tutorial fixes

  • Participants
  • Parent commits ae66725

Comments (0)

Files changed (4)

File docs/index.html

 </li>
 <li><a href=tut/DisplayModes.html>tut/DisplayModes</a> - Choosing and Configuring Display Modes
 </li>
-<li><a href=tut/chimp.py.html>tut/chimp.py</a> - 		  <BODY BGCOLOR=#FFFFFF>
-</li>
 
 <hr>
 

File docs/tut/ChimpLineByLine.html

 <!--
-Line by Line Descriptions of the Chimp Example
+TUTORIAL:Line by Line Descriptions of the Chimp Example
 --><html><head>
 
 <title>Pygame Tutorials - Setting Display Modes</title>

File docs/tut/DisplayModes.html

 <!--
-Choosing and Configuring Display Modes
+TUTORIAL:Choosing and Configuring Display Modes
 --><html><head>
 
 <title>Pygame Tutorials - Setting Display Modes</title>

File docs/util/makedocs.py

     tuts2 = ['tut/' + os.path.split(x)[1] for x in tuts1]
     tuts3 = [os.path.splitext(x)[0] for x in tuts2]
     tuts4 = [open(x).readlines(2)[1] for x in tuts1]
-    tuts = [fileline%x for x in zip(tuts2, tuts3, tuts4)]
+    tuts = [fileline%(x[0],x[1],x[2][9:]) for x in zip(tuts2, tuts3, tuts4) if x[2].startswith('TUTORIAL:')]
     finaltut = tuthead + '\n'.join(tuts)
     return finaltext + '<br>&nbsp;<br>' + finaltut