[Top][All Lists]

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

Re: Minor errors of the website

From: Felix Janda
Subject: Re: Minor errors of the website
Date: Wed, 13 Feb 2013 20:45:30 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Phil Holmes wrote:
> > On the same page (and some other pages) there are several links like
> > "../doc/v2.17/Documentation/contributor/index.html". Notice the dots in
> > the beginning. They don't really make sense. (The lynx browser complains
> > because of them.)
> As you're probably aware, these are autogenerated by a fairly complex 
> process.  Do you have the ability/incentive to try to work out why the ../ 
> is there?

scripts/build/create-weblinks-itexi.py contains some suspicious lines:

# these links are relative from /website/ on lilypond.org
depth = "../"

Then inside translateNameToUrl() depth is used like:

    url = depth + "doc/v" + ver_minor + "/Documentation/"

and this function is used in make_manual_links() to create the various
texinfo link macros.

So defining depth to be "" should remove the dots. I don't know whether
this breaks anything.


reply via email to

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