mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-11-06 20:25:00 +03:00
docs: xsl: Simplify templating XSL
Wrap the auto-generated pages (API ref and hvsupport.html) in the proper top level element similarly to what the pages generated from RST have to remove the extra case when templating our web. (Best viewed with 'git show -w') Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -450,7 +450,8 @@ for drv in list(drivers.keys()):
|
||||
print('''<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body id="hvsupport">
|
||||
<body>
|
||||
<div id="hvsupport" class="document">
|
||||
<h1>libvirt API support matrix</h1>
|
||||
|
||||
<nav class="contents" id="contents">
|
||||
@@ -536,4 +537,4 @@ for grp in sorted(groups.keys()):
|
||||
|
||||
print("</tbody>\n</table>")
|
||||
|
||||
print("</body>\n</html>")
|
||||
print("</div>\n</body>\n</html>")
|
||||
|
||||
Reference in New Issue
Block a user