From: Graham Percival <graham@percival-music.ca>
Date: Fri, 27 Aug 2010 12:30:09 +0000 (+0100)
Subject: Build: another fix for 1167.
X-Git-Tag: release/2.13.32-1~25
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5e040cd922e5cdae777d3a8a16fc9dd80d24a6ef;p=lilypond.git

Build: another fix for 1167.

Unstable docs now go to /development.html instead of /manuals.html
---

diff --git a/python/auxiliar/postprocess_html.py b/python/auxiliar/postprocess_html.py
index 9f25418cb0..38e325e297 100644
--- a/python/auxiliar/postprocess_html.py
+++ b/python/auxiliar/postprocess_html.py
@@ -347,7 +347,8 @@ def process_html_files (package_name = '',
             s = add_header (s, prefix)
             # make the "return to doc index" work with the online website.
             if target == 'online':
-                if 'Documentation/contributor' in prefix:
+                if (('Documentation/contributor' in prefix) or
+                    (int (versiontup[1]) %  2)):
                     s = s.replace (
                         'href=\"../..//Documentation/web/manuals.html\"',
                         'href=\"../../../../website/development.html\"')