]> xenbits.xensource.com Git - libvirt.git/commit
docs: Span cells if there's not doc text for enum val
authorMichal Privoznik <mprivozn@redhat.com>
Sat, 22 Jul 2017 07:12:36 +0000 (09:12 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 24 Jul 2017 10:08:02 +0000 (12:08 +0200)
commit099a5ef8f06c8e6aad182a5c1472e7e571a0fe92
tree560532cb23b496dd2f0040515a1e2640ee460e5d
parent6efdd94dbc23e6caf76109a559f7cadbb0cdcb98
docs: Span cells if there's not doc text for enum val

When generating HTML documentation we put enum values into a
table so that we can display the value's name, numerical value
and description (if it has one). Now the last part is problem. If
the value doesn't have description the table row has just two
cells and if it has one the row counts three cells. This makes
HTML engines render the description into very little space - for
instance see:

  html/libvirt-libvirt-domain.html#virDomainMemoryStatTags

We can avoid this problem if we let the cell that corresponds to
numerical value span over two cells if there's no description.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
docs/newapi.xsl