\n'
# If the current page is our page, and it has children, enumerate them
if curPos == pagePos:
@@ -342,32 +356,25 @@ def BuildList(lst, fs, pagePos, cList):
#
def BuildOnePageSidebar(fs):
- content = '\n\n
\n'
lvl = lvl - 1
@@ -396,13 +404,14 @@ def BuildOnePageSidebar(fs):
def CreateLinkSidebar(fs, pos, childList):
# Build the list recursively from the top level nodes
- #content = BuildList(FindTopLevelNodes(fs), fs, pos, childList)
content = BuildList(FindTopLevelNodes(fs), fs, pos, childList)
# Shove the TOC link and one file link at the top...
- content = content[:7] + '