doc: retain chapter numbers in navbar toc
authorRamprasad Venkataraman <ramv@illinois.edu>
Tue, 7 Aug 2012 04:53:23 +0000 (23:53 -0500)
committerRamprasad Venkataraman <ramv@illinois.edu>
Tue, 7 Aug 2012 04:53:23 +0000 (23:53 -0500)
doc/manual.css
doc/navmenuGenerator.py

index b2e27657d6b5ca771e4c520990d189c5fba952ab..382804fcc9066579fbbc7057998071bc7dc4b92c 100644 (file)
@@ -83,6 +83,10 @@ ul.manual-toc > li > ul {
                font-weight: normal;
 }
 
+ul.manual-toc, ul.manual-toc ul {
+               list-style-type: none;
+}
+
 ul.manual-toc li a {
                color: #000;
                text-decoration: none;
index c9a8cb2fdbcbcbf00ed00f4e604d45b5fa2fca0a..c10afb5c416f30fc55ed2c06a977c8261f7b849a 100755 (executable)
@@ -19,10 +19,6 @@ toc = soup.find("ul","ChildLinks").extract()
 for sctn in toc.select("li > ul > li > ul"):
     sctn.extract()
 
-# Discard all spans (numbering)
-for spn in toc("span"):
-    spn.extract()
-
 # Discard all br tags
 for b in toc("br"):
     b.extract()