Re: Publishing API documentation for each release

From: Date: Mon, 02 Feb 2004 07:08:41 +0000
Subject: Re: Publishing API documentation for each release
References: 1  Groups: php.pear.doc php.pear.doc 
Request: Send a blank email to pear-doc+get-2323@lists.php.net to get a copy of this message
Martin Jansen wrote:
The reason for detaching the API docs is by the way performance: Right now it takes > 40 minutes to build the HTML version of the manual on our build box. Adding API documentation for each of our 209 packages will cause the build time to grow nearly exponentially.
I wish I had more time to look at the livedocs code.. It works quite well at present but still needs tuning. Current issues. - generation of index uses xlstproc - It would be nice to find an alterative... (perhaps even simple regex's for id="....") - a few problems with titles that have class names etc. in them. - adding pages requires full regeneration of xlstproc to make the database of entities. (this may be solved by databasing the last parse time, and only regexing changed files..) - a few formating things are slightly off.. (just needs a bit more tlc.) Anyway the code for the peardoc livedocs is at http://devel.akbkhome.com/svn/index.php/akpear/LiveDocs/ and todays build is at http://devel.akbkhome.com/livedocs/livedoc.php If someone had time to get this working - it would save a huge amount of time regenerating etc.. Regards Alan
Another reason is the ability to provide the API documentation in form of man pages or tar archives in the future, which isn't feasible without detaching. * What will happen to the existing package documentation that is part of the PEAR manual? (E.g. the docs for DB, XML_Beautifier and XML_RSS.) I suggest we keep it and also give people the chance to add more documentation there: Everything that specifically aims at end-users (like tutorials, longish examples etc.) will be part of the manual, while the pure API documentation will be available in form of independent collections. * What should we do about stuff like the reST-based user guides that Jon is providing for Log and Net_SMTP? Since reST is actually a very cool format, we should find a way to integrate them somewhere.
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.doc (#2323) next »