X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Fauxiliar%2Fpostprocess_html.py;h=7e379dcbb8018c77dd000ec5ed235900a150398e;hb=e87c62083b9dcee6a714aad03518913ef87d6a77;hp=538f79a7988d8142241fd8124e79db6c95b4370e;hpb=01df8ad908c92687d0c352e5ad5f067e52809423;p=lilypond.git diff --git a/python/auxiliar/postprocess_html.py b/python/auxiliar/postprocess_html.py index 538f79a798..7e379dcbb8 100644 --- a/python/auxiliar/postprocess_html.py +++ b/python/auxiliar/postprocess_html.py @@ -57,6 +57,7 @@ web_footer = ''' footer_name_version = _doc ('This page is for %(package_name)s-%(package_version)s (%(branch_str)s).') # ugh, must not have "_doc" in strings because it is naively replaced with "_" in hacked gettext process footer_report_links = _doc ('We welcome your aid; please help us by reporting errors to our bug list.') +sidebar_version = _doc (' v%(package_version)s (%(branch_str)s).') mail_address = 'http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs' @@ -364,6 +365,9 @@ def process_html_files (package_name = '', s = hack_urls (s, prefix, target, bool (int (versiontup[1]) % 2)) s = add_header (s, prefix) + ### add sidebar information + s = s.replace ('', sidebar_version) + ### add footer if footer_tag_re.search (s) == None: if 'web' in file_name: