From: Han-Wen Nienhuys Date: Sat, 5 Mar 2005 17:10:35 +0000 (+0000) Subject: (do_file): make wiki link optional. X-Git-Tag: release/2.5.14~31 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1ed1001ab0bbbd5e0e8b1a17228653b633c7ddb3;p=lilypond.git (do_file): make wiki link optional. --- diff --git a/ChangeLog b/ChangeLog index ef59cebfa2..82a9991aa9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-03-05 Han-Wen Nienhuys + + * stepmake/bin/add-html-footer.py (do_file): make wiki link optional. + + * lily/pdf.cc: remove PDF related files + 2005-03-04 Han-Wen Nienhuys * ly/deutsch.ly: add quarter tones, patch by Arno Waschk. diff --git a/stepmake/bin/add-html-footer.py b/stepmake/bin/add-html-footer.py index 14e2c76462..3946a73780 100644 --- a/stepmake/bin/add-html-footer.py +++ b/stepmake/bin/add-html-footer.py @@ -35,7 +35,8 @@ default_header = r""" """ -wiki_base = 'http://afavant.elte.hu/lywiki/' +#wiki_base = 'http://afavant.elte.hu/lywiki/' +wiki_base = None default_footer = r"""
Please take me back to the index @@ -44,8 +45,7 @@ of @PACKAGE_NAME@ built = r"""
-Read comments on this page, or -add one. +%(wiki_string)s

This page is for %(package_name)s-%(package_version)s (%(branch_str)s).
@@ -254,6 +254,14 @@ def do_file (f): wiki_page = re.sub (r'\.-', '', wiki_page) wiki_page = re.sub ('.html', '', wiki_page) + wiki_string = '' + + if wiki_base: + wiki_string = (r'''Read comments on this page, or + add one.''' % + { 'wiki_base': wiki_base, + 'wiki_page': wiki_page}) + subst = globals () subst.update (locals()) s = s % subst