Re: Doc help requestedd (was: RE: Is your package Documented ?)
| From: | Paul M Jones | Date: | Wed, 14 Apr 2004 18:05:34 +0000 |
| Subject: | Re: Doc help requestedd (was: RE: Is your package Documented ?) | ||
| References: | 1 2 3 4 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-3456@lists.php.net to get a copy of this message | ||
Hi, David,
First of all -- sorry, you're right about the bitching and whining, I'll tone it down. Actual solutions, or points leading to solutions, are discussed herein. :-)
I am not saying that DocBook or the current system as a whole is perfect. But is hardly the only problem. If that would be the only problem we will have all the packages with external documentation on the developer site and this is not the case with many packages.And to be be clear, I am not saying that DocBook or the current system are completely unsuited to PEAR's needs. Let me illuminate one issue in particular: Composing documentation, in general, is difficult and not-immediately-rewarding, especially for coders who are not also technical writers. I argue that if there is an open, welcoming, friendly framework already in place then it will be easier for developers to iteratively build their documentation. That way the writers can concentrate on the writing, not on the system. The Gospel According To Jones, Chapter 12 ("The Book of Docs") -- A documentation system needs to take into account that the initial documentation will probably be plain text from the developer consisting of notes, warnings, and gotchas, perhaps a brief outline of how to get started. The docs will then be revised, extended, marked-up, and reworked iteratively until they are "finished" (which as we all know means "until the writer is tired of it" ;-) -- but the docs should always, at most every point, be available for reading. (Here ends the reading of the Word. ;-) The current system, for all its strengths, does not encourage this kind of work pattern. Instead, it pretty much demands that all docs be complete, or significantly outlined, before they can be displayed. It also dictates that there is "one right way" of doing documentation (compiled DocBook packages via CVS, with the various client-side tools that implies) -- it does not easily allow for a quick-and-dirty (!) set of documentation to be posted and marked up later. Finally, it demands that you learn a specific set of tools in order to generate that documentation at all, which in itself is quite a barrier.
We don't have more people willing to do documentation because is often not as rewarding as writing code and possibly because some of the old packages where proposed and accepted where the docs requirements/code comments requirements where less stringent.I agree wholeheartedly with that first part, about it not being rewarding. You never hear "great docs!" you only hear "what you have is awful! we need more!". (Kind of like tech support, nobody tells you when you're doing good. ;-)
IF we are stringent on new packages the problem will really dissipate step by step as new packages will come up well documented.I disagree: I predict we'll get the about the same level of documentation, but the releases will stay in beta longer (or whatever) if PEAR documentation under the current system is required for "stable."
Frankly, to me is really fine if someone has some external documentation and we provide a short intro and link within the manual. Better then nothing at all.Absolutely agreed, and you have done a good job of implementing this idea. Anyone listening: if you have external docs, tell David, and he'll put placeholders and links in the official PEAR docs. This is a great compromise, whether it be temporary or permanent (hopefully temporary ;-).
Now Paul, come up with an alternative else we will lose momentum :DWorking on that now, as you may know (?) ... check out the "Requirements for PEAR Documentation" thread here on PEAR-DOC and put in your comments. It may not be an alternative, it may turn out that we only need to tweak the current system. I just want things to work better for more people with less effort.
P.S. I plan to try savant today, hope is easy to learn it :DI hope it is too. ;-) I think you'll be pleasantly surprised. Let me know (off the list! :-) if you have problems, or leave a comment on the site. -- Paul M. Jones Savant: the simple alternative to Smarty. http://phpsavant.com/