X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=build.py;h=376204959f810b72d7c5bfe126233c36b2346e01;hb=1f90d2dac9c47951e3740899649fe4aa47a7a5a6;hp=828b5d107bcedf9db4b9370886082a0820d76720;hpb=ecdab5aaa7d63e25b7dcb00c4b47de1eefbff9dd;p=ardour-manual diff --git a/build.py b/build.py index 828b5d1..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('