
nightmorph at gentoo
May 25, 2010, 12:01 PM
Post #3 of 3
(566 views)
Permalink
|
|
Re: gorg on gentoo.org / debug variable in guidexml
[In reply to]
|
|
On Tue, 25 May 2010 19:28:11 +0200 Sebastian Pipping <sping [at] gentoo> wrote: > i was wondering how the setup on gentoo.org is weaving a value of debug > in. can anybody enlighten me? It doesn't. That German site is screwed up in a couple of ways: 1. Its XSL is never up to date. This is the primary cause of issues. 2. It has extra XML files it should not have, such as debug.xml. Read through gentoo.org's guide.xsl, around line 59: debug is not set unless debug.xml exists in the root folder, which should never happen on gentoo.org. <!-- Debug mode, when /debug.xml exists, should never be available on www.g.o --> <xsl:variable name="debug"> <xsl:if test="document('/debug.xml')/debug/@on='1'">1</xsl:if> </xsl:variable>
|