From 75b7d38ed5f40ebfa7ae1d87e90bd00d71f84536 Mon Sep 17 00:00:00 2001 From: Ed Ward Date: Mon, 27 Feb 2017 09:37:03 +0100 Subject: [PATCH] More infos in dev mode for build.py --- build.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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.') -