add a proper section for inheritance

This commit is contained in:
Sébastien Loriot 2013-08-06 08:45:19 +02:00
parent d14ac4adf2
commit 1263439c42
1 changed files with 5 additions and 1 deletions

View File

@ -270,6 +270,10 @@ removes some unneeded files, and performs minor repair on some glitches.''')
for fn in citelist_files:
re_replace_in_file('<a class=\"el\" href=\"namespaceCGAL.html\">CGAL</a>', 'CGAL', fn)
#add a section for creating the inheritence section
citelist_files=package_glob('./*/class*.html')
for fn in citelist_files:
re_replace_in_file(r'<p>Inherits\s*(.*)</p>', r'<dl class="section inherits"><dt>Inherits from</dt><dd>\1</dd>', fn)
if __name__ == "__main__":
main()