Re: Online doc generator

From: Date: Mon, 12 Apr 2004 20:29:46 +0000
Subject: Re: Online doc generator
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3271@lists.php.net to get a copy of this message
Jesus, thanks for the re-mail. It did slip past my notice (although it is right there in my inbox ;-). Please see the thread "Requirements for Documentation System" on PEAR-DOC for the current thread.
1. Easy online collaboration between identified participants.
That is more an organizational and support apps issue.
But it *is* a requirement of the system. We are talking about the system as a whole, not just the format.
BTW, as pointed out, a good part of the PHP manual has been written by people doing only documentation, not the ones writing the code. Oftentimes I remember bothering the person who wrote a particular PHP extension, if I did not understand the code, in order to write documentation for it. We sorely need people in the extended PEAR community that are willing to ddo just that.
Agreed, and we need to make it as easy as possible for them to do so. That is the purpose of the requirements determination process here: to find out what's important to us.
2. Ability to allow/deny specific users access to specific documents (particularly for editing).
Why? CVS works well for collaborative systems.
Yes, but not all potential documentors may be willing or able to use CVS. Again, we need to list requirements based on what we need to do, not based on what a specific technology provides.
3. Easy to learn the markup to lower barriers to entry (docs are less sexy than code, let's make it easy to get into them ;-)
Huh? What is so difficult about XML?
Indeed; what is so difficult about DocBook? Obviously something is flawed in the current PEAR documentation system, or we would have more docs there. Again, listing requirements without referring to specific technologies is the first step to understanding what we really need.
I still do not fully understand what is the problem. Agree that I've been using DocBook for quite some time (when I used to be more active on the PHP Doc team), but if a crazy scientist like me can use it ... :-)
We're not all crazy scientists (well, not *all* of us ;-). The barrier to quickly adding useful comments and editing current docs is much too high, in my opinion, and we need to re-think our docs system to increase participation.
If you need documentation, there is plenty of docs on how to write manual entries in the PEAR manual and in the PHP manual too (http://php.net/dochowto).
They have been there for years, and yet we have few or poor docs. The system as it is does not work the way we think it should; perhaps it is time to re-evaluate the system and look for our mistakes.
The differences between PEAR DOC and PHP DOC are small, so I doubt that the a prospective author will have problems if she uses the PHP or PEAR Manual docs as a templates to start documenting.
Again, they have been there for a long time, and yet our docs are lacking. Something is wrong, and we need to find out what it is.
The crux of the matter is to get people involved doing documentation.
Agreed. If it is easier then more people will be willing to get involved.
I know I am guilty of not documenting my own packages and only offering their full API (using PHPDocumentor). But I not always have the free time I'd like (in particular with my new job).
Indeed, and potential documentors do not always have the free time they would like in order to learn DocBook, examine templates, and conform to pre-existing expectations, and then wait a day or more for feedback on their editing changes. Time spent coding, in this case, is not more important than time spent documenting.
4. Easy to translate the document source to multiple output formats, targets, and languages.
See cvs.php.net, count how many translations are there for the PHP manual (phpdoc* dirs). There is already a set of supporting tools to help with all the things you mention above. All translations use DocBook w/o a problem AFAICT.
So we agree that this is a requirement of the system, whether we use DocBook or not?
5. Fast turnaround between edits and displayed results.
How *fast*. If you have a machine to build the PEAR manual running daily, yesterday's edits will be there tomorrow. We are not yet at the size of the PHP Documentation (1500+ pages IIRC)
Immediate if not sooner. I hit "save" and the change shows up.
6. A comment system so that users who are not allowed to edit directly can still be heard within context.
We have in the PHP Manual, the PHP-GTK Manual has it too, we just need to re-use that code (available on cvs.php.net also) and modify it to the structure of PEAR's Web site. No problem there.
If it is so easy why is it not in place?
What are the other requirements for the PEAR document creation/editing/delivery system?
To add to the topic. Bertrand suggested a CMS, I also think it would be good idea to have that or a wiki, so people can easily add documentation.
I agree that a wiki would be good to have. Actually with Paul's efforts we more or less have a wiki. If he wouldnt constantly break the test wiki I could even show it off to you all ;-) *nudge* *nudge*
Yeah, yeah, once I can leave DB_Table alone I can leave the wiki alone. :-)
Agree with that. In my experience, mailing lists/irc/IM are good places to discuss out things, wiki/web sites good places to document the decisions taken in the discussions.
Agreed there. However, a Wiki-style system lends itself to quick turnaround on edits by multiple users. Wiki may not be right for us, but it is one possible solution; we'll know more when requirements determination is complete. -- Paul M. Jones Savant: the simple alternative to Smarty. http://phpsavant.com/

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