Re: Manual enhancements
| From: | Mark Wiesemann | Date: | Thu, 03 May 2007 08:59:35 +0000 |
| Subject: | Re: Manual enhancements | ||
| References: | 1 2 3 4 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-9704@lists.php.net to get a copy of this message | ||
Hi Christian,
Christian Weiske wrote:
>>> Link to the API doc (manual is not api generated doc, it's a manual)
>>> Link to package page
> I will tackle this feature requests once we have XSLT sheets. Currently,
> it's not possible.
It is possible, just look at my screenshots. If you're browsing the
documentation for HTML_QuickForm, the "Package Info" link will point to
/package/HTML_QuickForm. The same could be done for the API docs, simply
by appending /docs/latest/ to the packaga info link.
Switching to XSLT would bring us a benefit in this regard (though the
switch generally makes sense) because the sidebar is parsed by PHP
anyway. The generated manual pages for the website ("make pearweb") are
not ready for showing, e.g. the (now indented) method links are put
together by some PHP code (code is in include/pear-manual.php,
makeBorderTOC(), if you're interested).
Also the new indentation is something that wouldn't be solved just by
switching to XSLT. We would either make big changes there or just stay
with the current concept (only an array is put into the generated files)
and use my patch.
Regards,
Mark
--
http://www.markwiesemann.eu