X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=build.py;h=f422df1474b0e77d0e4379b5d7d21799c2b281c0;hb=4424b1aa27a94d8873a565a633009535953ab485;hp=6d343b61c60f50f3bfea302446a8e7ca02b05974;hpb=7a4c28bd8605e90876ebee619de364ab7001e405;p=ardour-manual diff --git a/build.py b/build.py index 6d343b6..f422df1 100755 --- a/build.py +++ b/build.py @@ -513,8 +513,15 @@ for header in fileStruct: content = FixInternalLinks(links, content, header['title']) # Add header information to the page if in dev mode - if devmode and 'link' in header: - content = '

link: ' + header['link'] + '

\n

\n' + content + if devmode: + devnote ='' + content # Set up the actual page from the template if 'style' not in header: @@ -560,4 +567,3 @@ tocFile.close() if not quiet: print('Processed ' + str(fileCount) + ' files.') -