Commit ced60e79 authored by Nathalie Furmento's avatar Nathalie Furmento

biblio: generate anchor for sub-sections

parent 2cb69ccc
......@@ -20,6 +20,11 @@ with open("out/starpu.html", "w") as fout:
for line in fin.readlines():
if line.startswith("<h4>"):
fout.write(line)
sectionTitle = line
sectionTitle = sectionTitle.replace("<h4>", "")
sectionTitle = sectionTitle.replace("</h4> ", "")
sectionTitle = sectionTitle.replace(" ", "")
fout.write("<a name=\"Publications" + sectionTitle[0:len(sectionTitle)-1] + "\"></a>\n")
fout.write("<ol>\n")
else:
if line.startswith("<li>"):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment