Gobligine/doc/scripts/showindex.py
feber dda6da86d1 Added documentation for SetPlayerData and GetPlayerData.
Updated documentation helper scripts to use the new filenames.
2004-07-23 07:44:25 +00:00

21 lines
473 B
Python
Executable file

#!/usr/bin/env python
""" Print a line for each function in index.html.
Usefull to check if all functions are documented.
"""
import os
commands = []
reffiles = {}
for infile in os.listdir('.'):
if not infile.endswith('.html'): continue
for part in open(infile).read().split('<a name="')[1:]:
command = part.split('"')[0]
commands.append(command)
reffiles[command] = infile
commands.sort()
for command in commands:
print command