X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=build.py;h=376204959f810b72d7c5bfe126233c36b2346e01;hb=1f90d2dac9c47951e3740899649fe4aa47a7a5a6;hp=df16505ecb95b75dab47a2ca526b86fd418b01c2;hpb=dfd7223eb7ee339e9f03052737403e0027e15784;p=ardour-manual diff --git a/build.py b/build.py index df16505..3762049 100755 --- a/build.py +++ b/build.py @@ -312,15 +312,15 @@ def FixInternalLinks(links, content, title): # looking at currently # def BuildList(lst, fs, pagePos, cList): - content = '\n\n
\n' + content = '\n\n
\n' + content = content + '\n\n' return content @@ -343,23 +341,49 @@ def BuildList(lst, fs, pagePos, cList): # Builds the sidebar for the one-page version # def BuildOnePageSidebar(fs): + content = '\n\n\n' @@ -372,10 +396,10 @@ 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] + '
Table of Contents
\n' + content[7:] + active = ' class=active' if pos<0 else '' + content = content.replace('