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.

Felix

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to