\n'
# If the current page is our page, and it has children, enumerate them
if curPos == pagePos:
@@ -332,7 +345,7 @@ def BuildList(lst, fs, pagePos, cList):
elif (pagePos > curPos) and (pagePos < nextPos):
content = content + BuildList(cList[curPos], fs, pagePos, cList)
- content = content + '\n
\n'
lvl = lvl - 1
@@ -398,11 +405,12 @@ def CreateLinkSidebar(fs, pos, childList):
# Build the list recursively from the top level nodes
content = BuildList(FindTopLevelNodes(fs), fs, pos, childList)
# Shove the TOC link and one file link at the top...
- active = ' class=active' if pos<0 else ''
- content = content.replace('