peardoc: Restructurization

From: Date: Thu, 09 Oct 2008 17:22:37 +0000
Subject: peardoc: Restructurization
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-11175@lists.php.net to get a copy of this message
Hello all, Now that the docbook5 files are in cvs, we can begin restructuring it. The first thing that's been an issue for years is the limitation of the actual package docs. As of now, the package categories were an <chapter> each, limiting the package docs to <section> (previously <sect1> tags). Laurent for example wrote full books for his packages (his TDGs, The Definitive Guides), and it's a shame they are not in the official pear manual. Luckily, we now do have the tools to make the inclusion of such whole books as package docs possible. It's pretty easy: We will use <set>s for the packages part in a whole, and <set>s for each category. That way, every package documentation can (has) to be a whole <book>. Encapsulation of the current docs is relatively easy: The old code: =================================================== <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="package.authentication.auth-http"> <info><title>Auth_HTTP</title></info> <para> Provides a framework for user authentication (aka an "User-Login") based on the HTTP </para> ... entities =================================================== becomes =================================================== <book xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="package.authentication.auth"> <info> <title>Auth</title> <abstract> <para> Provides a framework for user authentication. </para> </abstract> </info> <chapter> ...entities =================================================== Doing that we only need minimal effort to get our package docs tons of possibilities we didn't have yet. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.doc (#11175) next »