phd conversion
| From: | Christian Weiske | Date: | Fri, 03 Oct 2008 11:52:00 +0000 |
| Subject: | phd conversion | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11106@lists.php.net to get a copy of this message | ||
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.
- Restructure the manual. Suggestion is 3 sections:
- User's guide
- Developer's guide
- Package docs
- Shall we move to svn? We need a shared space for developing the
transition at least.
- 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.
- 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";
?>
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc