Anonymous avatar Anonymous committed c18327c

full index in documentation

Comments (0)

Files changed (3)

-Pygame Version 1.0 (pre)
-March 28th, 2001
+Pygame Version 1.0
+April 4th, 2001
 
 Python Game Development
 by Pete Shinners
 
 <hr>
 
-<font size=+1><b>Text File Documentation</b></font><br><li><a href=LGPL>LGPL</a> - Gnu lesser general public license</li>
+<font size=+1><b>Text File Documentation</b></font><br><li><a href=../README.TXT>README</a> - Pygame version 1.0</li>
+<li><a href=LGPL>LGPL</a> - Gnu lesser general public license</li>
 <li><a href=fullinstall.txt>fullinstall</a> - Build instructions for building and installing pygame</li>
 <li><a href=init.txt>init</a> - Information about importing and initializing pygame</li><br>&nbsp;<br><font size=+1><b>Tutorials</b></font><br><li><a href=tut/ChimpLineByLine.html>tut/ChimpLineByLine</a> - Line by Line Descriptions of the Chimp Example
 </li>

docs/util/makedocs.py

     fileline = '<li><a href=%s>%s</a> - %s</li>'
     texthead = '<font size=+1><b>Text File Documentation</b></font><br>'
     tuthead = '<font size=+1><b>Tutorials</b></font><br>'
-    texts1 = glob.glob('../*.txt') + ['../LGPL']
+    texts1 = glob.glob('../*.txt') + ['../LGPL', '../../README.TXT']
     texts1.sort()
-    texts2 = [os.path.split(x)[1] for x in texts1]
-    texts3 = [os.path.splitext(x)[0] for x in texts2]
+    texts2 = [x[3:] for x in texts1]
+    texts3 = [os.path.splitext(os.path.split(x)[-1])[0] for x in texts2]
     texts4 = [open(x).readline().strip().capitalize() for x in texts1]
     texts = [fileline%x for x in zip(texts2, texts3, texts4)]
     finaltext = texthead + '\n'.join(texts)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.