4 input = open(PROJECT_LOCATION+
"/doc/html/namespaces.html",
"r")
9 lines = lines.replace(
"\n<ul>",
"<ul>")
10 lines = lines.replace(
"<ul>\n",
"<ul>")
11 lines = lines.replace(
"\n</ul>",
"</ul>")
12 lines = lines.replace(
"</ul>\n",
"</ul>")
13 lines = lines.replace(
"\n<li>",
"<li>")
14 lines = lines.replace(
"<li>\n",
"<li>")
17 lines = lines.split(
"\n")
20 contentStarted =
False
24 if (line.find(
"</table>") != -1)
and (contentStarted):
25 contentStarted =
False
28 if (line.find(
"<tr><td class=\"indexkey\">") == -1):
31 if (line.find(
"__cff.html") == -1)
and \
32 (line.find(
"__cfg.html") == -1)
and \
33 (line.find(
"__cfi.html") == -1):
36 if (line.find(
"<table>") != -1)
and (
not contentStarted):
44 html =
"\n".
join(html)
46 output = open(PROJECT_LOCATION+
"/doc/html/configfiles.html",
"w")
51 PROJECT_LOCATION = sys.argv[1]
55 print "configfiles.py done"
57 print "Not enough parameters: configfiles.py PROJECT_LOCATION"
static std::string join(char **cmd)
def generateConfigFilesPage