Gentoo Archives: gentoo-doc

From: "Jan Kundrát" <jkt@g.o>
To: gentoo-doc@l.g.o
Subject: Re: [gentoo-doc] [RFC] Marking unmaintained documents
Date: Thu, 08 Sep 2005 17:37:29
In Reply to: Re: [gentoo-doc] [RFC] Marking unmaintained documents by Xavier Neys
Xavier Neys wrote:
>> a) "This article is not part of the official Gentoo documentation, it >> has been republished on our site only for your convenience and with >> permisson of the respective copyright owner. It may not reflect current >> state of things and could be outdated." > > No need to hack the xsl for that, just add it at the beginning of each > article like we already have the note about owners.
This implies manual changing of several files which is not good, IMHO.
>> b) "This Handbook is no longer maintained and is left here only for your >> convenience, please don't bother with submitting bugreports. In case you >> are looking for networkless installation instructions, please consult >> <link>current handbook</link>." >> c) "This language is not backed up by an official Translation Team and >> might be outdated or even incorrect. In doubts please consult >> [link]original document[/link]." > > > Can only be done with a reliable document location made available to the > xsl which we lack at the moment. > > I wish we could but at the moment, we can't really
Well, I think that fixing <guide path="..."> that does'nt contain directory name is easier than adding some disclaimer to every file and could be done by a script (haven't tried, though). And it wouldn't matter if we didn't catch every outdated/unmaintained/... document, but at least some of them will be marked. So, is there any problem to check the value of the path attribute (provided it includes the directory name) against some regexp and if it matches, add some warning to the generated page? Maybe also introduce another parameter to metadoc saying "this translation is outdated", but I'm not sure if this is worth the effort. Cheers, -jkt -- cd /local/pub && more beer > /dev/mouth


File name MIME type
signature.asc application/pgp-signature


Subject Author
Re: [gentoo-doc] [RFC] Marking unmaintained documents Xavier Neys <neysx@g.o>