|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: [PEAR-DOC] Re: [PHP-DOC] [PhD] CHM SupportHello
On Sat, May 31, 2008 at 9:23 AM, Hannes Magnusson <hannes.magnusson@...> wrote: > Hi all > > I'd say the next task would be to check the status of the php-gtk and > pear docs, these are still in DocBook4? Any ETA on DB5 upgrade? I put together a script to handle the upconvert of peardoc to DB5. http://wiki.pear.php.net/index.php/PEARDocMoveToDocbook5#Conversion_Script So getting to DB5 is fine... the question is - where we go from there? I think we really need help with the build magic to get the .manual.xml, a minimal setup utilizing PhD, and some recommendations on the set/book structure we need to target. Can we use our existing build scripts to get all the way up to .manual.xml with the new DB5 sources? For some reason I was thinking we have to rewrite our entire build process. That's where peardoc is at... ready to move to DB5, just not sure what the next step is. -- Brett Bieber http://saltybeagle.com/ -- PHP-GTK Documentation Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: [PEAR-DOC] Re: [PHP-DOC] [PhD] CHM SupportOn Sat, May 31, 2008 at 7:00 PM, Brett Bieber <brett.bieber@...> wrote:
> Hello > > On Sat, May 31, 2008 at 9:23 AM, Hannes Magnusson > <hannes.magnusson@...> wrote: >> Hi all >> >> I'd say the next task would be to check the status of the php-gtk and >> pear docs, these are still in DocBook4? Any ETA on DB5 upgrade? > > I put together a script to handle the upconvert of peardoc to DB5. > http://wiki.pear.php.net/index.php/PEARDocMoveToDocbook5#Conversion_Script > > So getting to DB5 is fine... the question is - where we go from there? > I think we really need help with the build magic to get the > .manual.xml, a minimal setup utilizing PhD, and some recommendations > on the set/book structure we need to target. > > Can we use our existing build scripts to get all the way up to > .manual.xml with the new DB5 sources? For some reason I was thinking > we have to rewrite our entire build process. No no. There is no need to rewrite anything. The configure.php changes in phpdoc/ are completely separate from PhD. All PhD needs is a file containing the XML (i.e. .manual.xml) which can be created with PHP: <?php $dom = new DOMDocument(); $dom->load("manual.xml", LIBXML_NOENT | LIBXML_NSCLEAN); $dom->xinclude(); if ($dom->validate()) { $dom->save(".manual.xml"); } ?> The .manual.xml isn't technically even required for PhD, it is just faster :) Since pear-doc is using Docbook-DSSSSL you will not be able to build the manual after upgrading to DB5 since the DSSSL stylesheets simply don't support it, so before you upgrade the PhD theme/stylesheet needs to be ready. The last step (optional) is to upgrade to set/book structure like phpdoc/ did few weeks ago.. I don't exactly recommend you upgrade just yet though, start small (DB5&PhD) then maybe restructure late on. Rudy: I guess you should check out that DB5 upgrade script and produce a .manual.xml file which you can use a test file until you've created the theme... -Hannes -- PHP-GTK Documentation Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: [PHP-DOC] Re: [PEAR-DOC] Re: [PHP-DOC] [PhD] CHM Support>
> The configure.php changes in phpdoc/ are completely separate from PhD. > All PhD needs is a file containing the XML (i.e. .manual.xml) which > can be created with PHP: On a related note, it's worth mentioning that using "configure.php" is a temporary measure until PhD-Setup (its replacement) exists. Gwynne is working on that now but I'm sure she would enjoy some collaboration with others too. Also, welcome to the team Rudy! :) Regards, Philip -- PHP-GTK Documentation Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
|
| Free Forum Powered by Nabble | Forum Help |