Author: laukpe
Date: Mon Nov 24 03:56:46 2008
New Revision: 1078

Modified:
   trunk/tools/libdoc/libdoc.py

Log:
No Importing section if libs take no args

Modified: trunk/tools/libdoc/libdoc.py
==============================================================================
--- trunk/tools/libdoc/libdoc.py        (original)
+++ trunk/tools/libdoc/libdoc.py        Mon Nov 24 03:56:46 2008
@@ -449,10 +449,8 @@
 <h2 id="introduction">Introduction</h2>
 <p class='libdoc'>${LIB.htmldoc}</p>

-<!-- IF '${LIB.type}' != 'resource' -->
-<h2 id="importing">Importing</h2>
-<!-- END IF -->
 <!-- IF ${LIB.inits} -->
+<h2 id="importing">Importing</h2>
 <table class="keywords">
 <tr>
   <th class="arg">Arguments</th>
@@ -465,9 +463,6 @@
 </tr>
 <!-- END FOR -->
 </table>
-<!-- END IF -->
-<!-- IF len(${LIB.inits}) == 0 and '${LIB.type}' != 'resource' -->
-<p>This test library does not take any arguments.</p>
 <!-- END IF -->

 <h2>Shortcuts</h2>

Reply via email to