[libvirt] [PATCH v2 4/8] Auto-generate the table of contents in logging doc

Daniel P. Berrange berrange at redhat.com
Mon Feb 24 16:49:21 UTC 2014


The logging doc had a hand-written table of contents
instead of using the automatic XSL generated one.

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 docs/logging.html.in | 21 ++++-----------------
 1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/docs/logging.html.in b/docs/logging.html.in
index ac415f8..08bbd70 100644
--- a/docs/logging.html.in
+++ b/docs/logging.html.in
@@ -3,27 +3,14 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <body>
     <h1 >Logging in the library and the daemon</h1>
+
     <p>Libvirt includes logging facilities starting from version 0.6.0,
        this complements the <a href="errors.html">error handling</a>
        mechanism and APIs to allow tracing through the execution of the
        library as well as in the libvirtd daemon.</p>
-    <ul>
-      <li>
-        <a href="#log_library">Logging in the library</a>
-      </li>
-      <li>
-        <a href="#log_config">Configuring logging in the library</a>
-      </li>
-      <li>
-        <a href="#log_daemon">Logging in the daemon</a>
-      </li>
-      <li>
-        <a href="#log_syntax">Syntax for filters and output values</a>
-      </li>
-      <li>
-        <a href="#log_examples">Examples</a>
-      </li>
-    </ul>
+
+    <ul id="toc"/>
+
     <h2>
       <a name="log_library">Logging in the library</a>
     </h2>
-- 
1.8.5.3




More information about the libvir-list mailing list