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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]