package TOCs for pearweb package doc pages
| From: | Christian Weiske | Date: | Sat, 01 Nov 2008 10:16:44 +0000 |
| Subject: | package TOCs for pearweb package doc pages | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969379591@lists.php.net to get a copy of this message | ||
Hi all,
At pear, we had the idea to display the package documentation TOC on
each package documentation page, e.g. [1]
Below "view end user documentation", the toc should be shown.
I made a small script that reads the phd-generated index and puts out
the files that can later be included by pearweb. Now the script is more
a hack, and I'd like to use phd for it. Using phd and all its xml
parsing looks like quite a bit overhead, given that I don't even need
the xml, aside from the index. On the other side, phd creates the
index, output directory, knows the language and already has a toc
creation function now.
So what would be the best approach to get the script into phd?
[1] http://pear.php.net/package/HTML_QuickForm/docs
[2] http://tmp.cweiske.de/pearwebpackagetocs.phps
--
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