bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 3191 - Fix relative links


From: Felix Janda
Subject: Re: Issue 3191 - Fix relative links
Date: Sun, 24 Feb 2013 12:16:28 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On 02/22/13 at 08:48pm, Felix Janda wrote:
> To solve this issue I think the following steps suffice:
> 
> 1. Replace links like http://lilypond.org/website/manuals.html by
> http://lilypond.org/manuals.html. See the patch below. Then nobody should
> need to know that http://lilypond/website exists (including search
> engines).
> 
> 2. Modify the root .htaccess to 301 redirect all traffic from
> http://lilypond.org/website to the corresponding url without /website.
> 
> 3. Make the depth variable in scripts/build/create-weblinks-itexi.py
> dependent on whether the Docs are being built for local enjoyment or for
> the server. That's probably not trivial with the current build system.

Attached are patches against the current git master, one for each step.

I've tested the Apache configuration locally.

I'd be happy if someone could test that it now works correctly for both
the local documentation and lilypond.org since I haven't been able to
successfully "make web", yet.

Felix

BTW some things in the .htaccess file are unecessary or misleading since
%{ENV:WEB} is unconditionally set to /website.

Attachment: 0001-Shorten-http-lilypond.org-website-links.patch
Description: Text Data

Attachment: 0002-Redirect-from-website-to.patch
Description: Text Data

Attachment: 0003-Fix-relative-links-for-lilypond.org.patch
Description: Text Data


reply via email to

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