Re: Log package manual DocBook source
| From: | Paul M Jones | Date: | Sun, 26 Sep 2004 02:23:18 +0000 |
| Subject: | Re: Log package manual DocBook source | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-4875@lists.php.net to get a copy of this message | ||
Hi, Haruki,
I think the idea is for individuals to write up Wiki docs, or reST docs, and then use the converter to take the non-DocBook format and create DocBook files from those sources. Then the DocBook files can be submitted to CVS. Alternatively, if/when we have a PEAR wiki proper, we may be able to tie an automated generation of the Wiki docs to the Sunday pear-doc build process (but I know nothing about that at all, and it's likely to be complex).So what sort of converters will we need? I don't think we should support each and every format, so for a start supporting reST and Paul's Wiki format seems to be enough.Where will the convertions do? In pear.php.net like DocBook?
And here are many package with docs of plane text or HTML. Plane text and HTML are easy to write by average developers. How we move them form plane text or HTML to reST or Wiki (or even DocBook)?I, at least, am not talking about converting existing docs to Wiki. However, I do like the idea of having an online collaborative environment to build docs that is easier than setting up, writing, compiling, and testing DocBook files. A Wiki can do that for us, and then we can export the results of the Wiki-based process to DocBook and move those files to CVS.
I hit upon the idea of that internal links to pear.php.net are just better measures. Mkdir //pear.php.net/docs/en/PACKAGE_NAME/ , put the HTML or plane text there, and put the links to it in the PEAR manual. For better appearance, writing some code that display the header of pear.php.net and then include the HTML body or the plane text there. Transelated docs will be put directory for each language such as /docs/ja/PACKAGE_NAME/.That's a neat idea. In fact, if/when we have wiki.pear.php.net, we can link to that as well. -- pmj