RE: [PEAR-DOC] Tools : the follow-up

From: Date: Tue, 01 Apr 2003 13:01:46 +0000
Subject: RE: [PEAR-DOC] Tools : the follow-up
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-580@lists.php.net to get a copy of this message
> Hi everyone. > > I received many answers to my question : "What are the tools available > for developpers to write their doc, pear-style ?". Here are > the results > of my investigations based upon these answers : > > - Documentation should be written in docbook format. > - There is a skeleton for docbook documentation of a package > - Documentation can be written with the help of phpDocumentor > > My remarks : > - Documentation can be written in text or HTML format, and later being > converted by peardoc core developpers. But here I have a > question : what > file is delivered to others developpers : the text or docbook doc ? If > only the docbook, other people can't make changes to doc because they > don't have the base text file. If both are presents, some will make > change to the docbook format and forget the text format. A mess in the > end. > > - Docbook is a pain in the ass to install. I already managed > to make it > in a past life, but it took me too much pain. I was wondering > if now it > would be easier, and that doesn't seems to be the case. > First, you need > to read the "php doc howto" to know how to install docbook tools > (nothing on pear website). Then, according to this document, on Linux > you need to use... Emacs+PSGML. I'm no emacs fan nor hater, > but I'm just > a son of the graphical interface era (I know my vi though ;), and I'd > like a tool with, you know, menus and icons. I read somewhere on these > lists that doc soon will possibly be written using > openoffice, is it an > april's fool ? No it is not. Openoffice format is xml so it is possible to transform openoffice xml to docbook xml. > - The docbook skeleton isn't documented. I don't know what to document > with it, how to do it. If my project is moderate to big in size, I'll > need to regroup articles inside a book. But there's no book skeleton. There is a need to make it clearer how to write documentation. > - phpDocumentor seems to improve the doc written for a > package. What is > your position regarding this ? Is it widely used ? The converter is getting better and will serve as a base to generate the skeleton doc of the package. > - I hear sometimes about peardoc2 format. What is it ? Peardoc2 replaced peardoc a week ago. Peardoc was based on the first generation of phpdoc. Peardoc2 is like current phpdoc. > Warning : this is only the opinion of an outsider (a "settler" as > opposed to "pioneers") willing to help. And I'm not > criticizing the work > done but frustrated by my inability to embrace the whole picture. Any comment is welcome :) that is how we will go forward.

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