Re: phd conversion
| From: | Brett Bieber | Date: | Fri, 03 Oct 2008 12:04:22 +0000 |
| Subject: | Re: phd conversion | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-11107@lists.php.net to get a copy of this message | ||
On Fri, Oct 3, 2008 at 6:52 AM, Christian Weiske <cweiske@cweiske.de> wrote:
> Hi all,
>
>
> I'm currently getting my hands dirty making peardoc ready for phd and
> docbook 5.
>
> There are some issues to solve:
> - Convert the files to docbook5. Brett(?) wrote a conversion script
> that breaks multiple CDATA sections on a page, though. E.g.
> peardoc/en/guide/developers/package2/dependencies.xml. Further, the
> official db4-upgrade.xsl script is broken for table titles.
... and knowing is half the battle.
Good work!
> - Restructure the manual. Suggestion is 3 sections:
> - User's guide
> - Developer's guide
> - Package docs
3 sections, or 3 books?
This structure sounds fine to me, unless we want to split up
categories of packages further.
> - Shall we move to svn? We need a shared space for developing the
> transition at least.
Eh, if we were writing PEAR2 docs maybe. I would be inclined to keep
peardoc in cvs along side pearweb & the packages it holds
documentation for.
We can branch or just freeze commits while the transition is worked on.
> - Writing configure.php which creates a giant xml file by including all
> single xml files. I have that on my disk, it's trivial [1].
> - Think about IDs. phpdoc use "class.$classname" for class docs. Maybe
> we should adopt that schema, too.
A couple examples...?
class.DB
class.DB_mysql
This seems ok to me.
> - Configure script needs also write the chapters.ent file, which it
> does not do yet. We can strip it from phpdoc/scripts/file-entities.php.
> ...
>
>
> [1]
> <?php
> echo "loading manual into one giant file\n";
> $dom = new DOMDocument();
> $dom->formatOutput = false;
> if (!$dom->load("manual.xml", LIBXML_NOENT)) {
> die("Failed to load manual.xml\n");
> }
> echo "validating\n";
> //$dom->validate();
> $dom->save("giant.xml");
> echo "done\n";
> ?>
I'm glad someone has started working on this again. Thanks Christian.
--
Brett Bieber
http://saltybeagle.com/