]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: xsl: newapi: Remove unused 'navbar' template
authorPeter Krempa <pkrempa@redhat.com>
Thu, 3 Nov 2022 12:02:31 +0000 (13:02 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 3 Nov 2022 13:11:22 +0000 (14:11 +0100)
The template is unused since commit 9092c3d491047539e376a496d1520249

Remove also the up|right|left|home.png files which were only used by
code generated by the unused template.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/html/home.png [deleted file]
docs/html/left.png [deleted file]
docs/html/meson.build
docs/html/right.png [deleted file]
docs/html/up.png [deleted file]
docs/newapi.xsl

diff --git a/docs/html/home.png b/docs/html/home.png
deleted file mode 100644 (file)
index 1700361..0000000
Binary files a/docs/html/home.png and /dev/null differ
diff --git a/docs/html/left.png b/docs/html/left.png
deleted file mode 100644 (file)
index 2d05b3d..0000000
Binary files a/docs/html/left.png and /dev/null differ
index b0ca400d080f2d3d3039973def0cd8cbd389a143..83dee91ec5a9da5ecfcfee32c594c1f794485941 100644 (file)
@@ -1,16 +1,3 @@
-apipng = [
-  'home.png',
-  'left.png',
-  'right.png',
-  'up.png',
-]
-
-install_data(apipng, install_dir: docs_html_dir / 'html')
-
-foreach file : apipng
-  install_web_files += '@0@:@1@'.format(meson.current_source_dir() / file, docs_html_dir / 'html')
-endforeach
-
 docs_html_gen = []
 docs_html_dep = []
 
diff --git a/docs/html/right.png b/docs/html/right.png
deleted file mode 100644 (file)
index 92832e3..0000000
Binary files a/docs/html/right.png and /dev/null differ
diff --git a/docs/html/up.png b/docs/html/up.png
deleted file mode 100644 (file)
index 85b3e2a..0000000
Binary files a/docs/html/up.png and /dev/null differ
index f2e8bd53344341d2006b60646f790738dee2e836..d48b1fbecd61d5a836589b8417a5103fc983f6c6 100644 (file)
   </xsl:template>
 
 
-  <xsl:template name="navbar">
-    <xsl:variable name="previous" select="preceding-sibling::file[1]"/>
-    <xsl:variable name="next" select="following-sibling::file[1]"/>
-    <table class="navigation" width="100%" summary="Navigation header"
-           cellpadding="2" cellspacing="2">
-      <tr valign="middle">
-        <xsl:if test="$previous">
-          <td><a accesskey="p" href="libvirt-{$previous/@name}.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></img></a></td>
-         <th align="left"><a href="libvirt-{$previous/@name}.html"><xsl:value-of select="$previous/@name"/></a></th>
-       </xsl:if>
-        <td><a accesskey="u" href="{$indexfile}"><img src="up.png" width="24" height="24" border="0" alt="Up"></img></a></td>
-       <th align="left"><a href="{$indexfile}">API documentation</a></th>
-        <td><a accesskey="h" href="../{$indexfile}"><img src="home.png" width="24" height="24" border="0" alt="Home"></img></a></td>
-        <th align="center"><a href="../{$indexfile}">The virtualization API</a></th>
-        <xsl:if test="$next">
-         <th align="right"><a href="libvirt-{$next/@name}.html"><xsl:value-of select="$next/@name"/></a></th>
-          <td><a accesskey="n" href="libvirt-{$next/@name}.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></img></a></td>
-        </xsl:if>
-      </tr>
-    </table>
-  </xsl:template>
-
   <!-- This is convoluted but needed to force the current document to
        be the API one and not the result tree from the tokenize() result,
        because the keys are only defined on the main document -->