lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build: another hack for translations (fix 1323). (issue2520041)


From: percival . music . ca
Subject: Re: Build: another hack for translations (fix 1323). (issue2520041)
Date: Sun, 17 Oct 2010 18:28:50 +0000

On 2010/10/17 16:52:03, John Mandereau wrote:
python/auxiliar/postprocess_html.py:357: extra_depth = '../'
'../' is is not needed for translations, as output web pages are at
the same
depth as the pages in English, and may cause errors in case server
configuration
doesn't redirect /.. to /. I suggest to simply remove all extra_depth
stuff.

Are you sure about that?  After disabling the
(make the "return to doc index" work) stuff and building the online
docs, I see this:

**** notation/index.es.html
<p class="toc_uplink"><a
href="../../..//Documentation/web/manuals.es.html"
         title="Documentation Index">&lt;&lt; Volver al índice de la
documentación</a></p>

**** notation/index.html
<p class="toc_uplink"><a href="../..//Documentation/web/manuals.html"
         title="Documentation Index">&lt;&lt; Back to Documentation
Index</a></p>


so it seems to me that we need the extra_depth for the old_link, at
least.  Now, I'm willing to believe that we don't need it for the
devel_link and manual_link (i.e. the new links)... those are much more
awkward to test, so I haven't done that yet.

oh wait -- the big-html manuals are different:
p class="toc_uplink"><a href="../../Documentation/web/manuals.es.html"
         title="Documentation Index">&lt;&lt; Volver al índice de la
documentación</a></p>

<p class="toc_uplink"><a href="../Documentation/web/manuals"
         title="Documentation Index">&lt;&lt; Back to Documentation
Index</a></p>


hmm... I'll try making a new patch, which only replaces for the
Documentation/web/manuals part.

http://codereview.appspot.com/2520041/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]