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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user