diff --git a/Documentation/DoxygenLayoutPackage.xml b/Documentation/DoxygenLayoutPackage.xml index 98e4d6d5d72..0cab211bdd9 100644 --- a/Documentation/DoxygenLayoutPackage.xml +++ b/Documentation/DoxygenLayoutPackage.xml @@ -14,7 +14,7 @@ - + @@ -78,7 +78,7 @@ - + diff --git a/Documentation/html_output_post_processing.py b/Documentation/html_output_post_processing.py index ea9dde4a14b..f7797e6ae2d 100755 --- a/Documentation/html_output_post_processing.py +++ b/Documentation/html_output_post_processing.py @@ -252,12 +252,11 @@ removes some unneeded files, and performs minor repair on some glitches.''') dts.each(lambda i: pq(this).html(re.sub("((Class )|(Struct ))", "Concept ", pq(this).html()))) write_out_html(d, fn) - # throw out nav-sync and the detailed description title + # throw out nav-sync all_pages=glob.glob('./*/*.html') for fn in all_pages: d = pq(filename=fn, parser='html') d('#nav-sync').hide() - d('h2.groupheader').filter(lambda i: pq(this).text() == 'Detailed Description').remove() # TODO count figures write_out_html(d, fn) @@ -270,10 +269,17 @@ removes some unneeded files, and performs minor repair on some glitches.''') for fn in citelist_files: re_replace_in_file('CGAL', 'CGAL', fn) - #add a section for creating the inheritence section + #add a section for Inherits from citelist_files=package_glob('./*/class*.html') for fn in citelist_files: - re_replace_in_file(r'

Inherits\s*(.*)

', r'
Inherits from
\1
', fn) + re_replace_in_file(r'

Inherits\s*(.*)

', r'

Inherits from

\1

', fn) + + #remove class name in Definition section + all_pages=glob.glob('./*/class*.html') + for fn in all_pages: + d = pq(filename=fn, parser='html') + d('h3').remove() + write_out_html(d, fn) if __name__ == "__main__": main()