Re: HTML build: Howto append language to internal link URLs



On Sat, 2018-02-17 at 16:15 +0100, Gunnar Hjalmarsson wrote:
On 2018-02-16 09:58, Frederic Peters wrote:
library-web adjust some parameters; this change comes from:

   <xsl:param name="mal.link.extension"
select="concat('.html.',$libgo.lang)"/>

($libgo.lang contains the language being generated)

This is from https://git.gnome.org/browse/library-web/tree/data/xsl
t/mal2html.xsl

Hope it helps,

Unless I'm misunderstanding the question, you should almost certainly
be setting html.extension as well or instead. html.extension is the
extension used when actually outputting files. mal.link.extension is
the extension used when writing links.

Indeed it does. Thanks! And thanks to Petr who forwarded this to the 
right person.

Which leads me to a follow-up question: Are this kind of available 
parameters documented anywhere?

Right here:

http://yelp.io/xsl/parameters.html

Every parameter has docs. Whether the docs for any given parameter are
actually any good is another question. Please complain about anything
you don't understand so I can make the docs better.

Thanks,
Shaun



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