Various small HTML fixes
These fixes are the result of running HTML Tidy on the output of gi-docgen generate -C examples/gtk4.html /usr/share/gir-1.0/Gtk-4.0.gir
, and fixing whatever was causing HTML errors in the generated output. With these fixes in place, Tidy is completely happy with the generated docs except for three issues:
- A bare HTML tag in the documentation source for
class.Label.html
, which I submitted gtk!6650 (merged) to fix - A tag conflict specific to
class.Builder.html
, where the embedded Markdown contains a heading "Properties" that receives anid="properties"
attribute, which then conflicts with one of gi-docgen's own headings farther down. Not sure how to best fix that one. - The embedded SVG source for the hierarchy diagrams. They no longer contain the leading
DOCTYPE
andxml
tags that Tidy objected to (I added code to strip those off), but they still usept
units for thewidth
andheight
attributes of the<svg>
tag, which Tidy doesn't seem to like.