Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-doc
Navigation:
Lists: gentoo-doc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-doc@g.o
From: Joshua Saddler <nightmorph@g.o>
Subject: Re: gorg on gentoo.org / debug variable in guidexml
Date: Tue, 25 May 2010 12:01:17 -0700
On Tue, 25 May 2010 19:28:11 +0200
Sebastian Pipping <sping@g.o> 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>
Attachment:
signature.asc (PGP signature)
References:
gorg on gentoo.org / debug variable in guidexml
-- Sebastian Pipping
Navigation:
Lists: gentoo-doc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: gorg on gentoo.org / debug variable in guidexml
Next by thread:
Xorg Documentation Suggestion
Previous by date:
Re: gorg on gentoo.org / debug variable in guidexml
Next by date:
Re: writing doc for logcheck


Updated Mar 27, 2012

Summary: Archive of the gentoo-doc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.