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



On 2018-02-20 16:10, Shaun McCance wrote:
On Sat, 2018-02-17 at 16:15 +0100, Gunnar Hjalmarsson wrote:

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 we put files with .html.<lang> on the server, but for historical reasons that step is accomplished with sed(). ;) It was really the extension in the link URLs I asked about.

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, much appreciated!

Well, not exactly a complaint, but... Currently we are reconsidering a few details with respect to the HTML version of Ubuntu's desktop guide, which is Mallard just as GNOME Help. Probably we want to do something similar with Ubuntu's server guide later whose markup language is DocBook. Is there some DocBook equivalent to mal.link.extension? I don't see it when looking at <http://yelp.io/xsl/parameters.html>.

--
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj


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