]> Shamusworld >> Repos - ardour-manual-diverged/commitdiff
Bugfix to remove spurious duplicate chapter listings at part level.
authorShamus Hammons <jlhamm@acm.org>
Sun, 29 Jan 2017 04:52:52 +0000 (22:52 -0600)
committerShamus Hammons <jlhamm@acm.org>
Sun, 29 Jan 2017 04:52:52 +0000 (22:52 -0600)
build.py

index e6c6ebcc4675ee0b004d70f62272f7004ed38058..2a8c8493530b119d41c0808ecdda7bf50d654665 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -5,7 +5,7 @@
 #
 # Ultimately, we will write directly to the finished web site structure instead
 # of creating this half-assed thing that we then rely on the other ruby script
-# to handle.
+# to handle. It works, but isn't optimal. :-P
 #
 # by James Hammons
 # (C) 2017 Underground Software
@@ -169,7 +169,7 @@ for line in master:
                        if ('menu_title' in header):
                                nfile.write('menu_title: ' + header['menu_title'] + '\n')
 
-                       nfile.write('---\n' + '\n{% children %}\n\n')
+                       nfile.write('---\n\n')
                        nfile.close()
 
                # Chapters, subchapters, sections & subsections all can have content.