Re: Requirements for Documentation System

From: Date: Mon, 12 Apr 2004 20:47:06 +0000
Subject: Re: Requirements for Documentation System
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3273@lists.php.net to get a copy of this message
Hi, Jesus, We're currently talking about requirements, not technologies. XML is wonderful, but by itself it is not a requirement. It's fun to talk about it, but we're not to the point where we get to have fun yet. ;-)
1. Easy online collaboration between identified
participants. Paul thinks "easy" means a plain text editor and a web form textarea. Arnaud thinks "easy" means something like OpenOffice and uploading files. Anybody else have opinions here?
Ease of collaboration, in my opinion, means making it simple to coordinate the generation of the documentation, i.e. mailing lists, CVS repository, and general tools to help with keeping track of translations. All of those exist, from all-encompasing systems like Borges (from Mandrake) to a system like PHPDOC (PHP Documentation teams) uses. Ease of editing is wanted, because it helps the authors (it is not per se a collaboration characteristic). But also we should worry about the format of the document as this impacts how transparent a collaborative manual editing will be.
Agreed. So, what are the format requirements? Let's address that at the end of this message.
2. Ability to allow/deny specific users access to
specific documents
(particularly for editing).
Arnaud thinks that PEAR-DOC members should be able to edit any page in the system; Paul agrees. Open public editing of pages is agreed to be a bad idea, although a comment system appears to be OK. Paul says that package owners who are not members of PEAR-DOC should be able to edit their package docs, and not the docs of packages they do not own, but further discussion may be needed (Arnaud?).
Anyone who wants to contribute documentation can ask for access to PEARDOC and do so. I don't see a problem with that.
So you agree that this is a valid requirement as stated?
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 ;-) No comments thus far.
XML is not difficult (e.g. DocBook), and so are tagged or structures text formats (e.g. ReST). You just need a text editor.
Do you agree with the requirement that the markup should be easy to learn, whether using XML, ReST, or Magic Technology X?
4. Easy to translate the document source to
multiple output formats,
targets, and languages.
No comments thus far.
XML supoorts international alphabete w/o much problem,. That's why we have a Russiand and an English version of the manual written in the same format (about 31 translations IIRC).
So you agree that this is a valid requirement, whether we end up with XML or Magical Technology X, correct?
And your argument that what is good for the PHP Manual is not good for the PEAR manual is not reasonable for me.
I did not say that what is good for one is not good for the other, only that what is good for one may not be good for the other.
What are the big differences? How much different are our needs from PHP, PHP-GTK or Smarty that we cannot use a similar documentation system that works theres?.
5. Fast turnaround between edits and displayed
results. No comments thus far.
$ make html
You are now talking specific technologies, and you leave out the assumptions behind that command line call. Do you agree that fast turnaround times are a valid requirement?
or see LiveDocs for the ultimate in immediate gratification. I am still unsure about why we need up-to-the-microsecond updated documentation.
For instant feedback and gratification for the documentor. You write code, you get to test it right away and tweak it again. You write docs, you want to see the results right away so you can keep tweaking; it is rewarding to the writer, and we want to reward writers.
Documentation is not source code, so if what you wrote shows up in a day or a week, what is the problem? I need more clarificiation of why this is a requirement in the first place, it is more a desirable feature.
Because it rewards the writer. As a coder you get to see your results right away; documentors want the same thing.
6. A comment system so that users who are not
allowed to edit directly
can still be heard within context.
No comments thus far.
See code in cvs.php.net for the web sites of PHP and PHP-GTK, grab the parts related to the comment system, modify and graft into PEAR's web site.
The PEAR web site might not be graftable right now. Regardless, this discussion is not about particular coding solutions, it is about requirements. Do you agree that a comment system is a valid and useful requirement? -- Paul M. Jones Savant: the simple alternative to Smarty. http://phpsavant.com/

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