1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-11-08 00:24:52 +03:00

docs: Remove XSLT table of contents generator

The only remaining page was 'hvsupport.html' which is generated by
'scripts/hvsupport.py'. The script already has all the data to generate
the table of contents internally so we can remove the whole complicated
template.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa
2023-05-17 12:55:20 +02:00
parent 5ff58a0ce7
commit ef01df4a5c
2 changed files with 9 additions and 56 deletions

View File

@@ -423,7 +423,15 @@ print('''<?xml version="1.0" encoding="UTF-8"?>
<body id="hvsupport">
<h1>libvirt API support matrix</h1>
<ul id="toc"></ul>
<nav class="contents" id="contents">
<ul>
''')
for grp in sorted(groups.keys()):
print("<li><p><a href=\"#%s\">%s</a></p></li>" % (grp, groupheaders[grp]))
print('''</ul>
</nav>
<p>
This page documents which libvirt calls work on