mkhtml2: tweak toc handling
commitd6005bfe329b1fa1a94d61abbe66ed2649ae2ba6
authorStefan Sauer <ensonic@users.sf.net>
Tue, 3 Apr 2018 05:33:15 +0000 (3 07:33 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Tue, 3 Apr 2018 05:33:15 +0000 (3 07:33 +0200)
tree21253b3b00610a8c6026230d479dbc5f6afa3ac1
parentecfc5bc255758064457066be90130df429455c55
mkhtml2: tweak  toc handling

Move the toc before the content. Only add the heading + the divs if the toc
is not empty.
gtkdoc/mkhtml2.py