-- Christian South <
[hidden email]> wrote
(on Saturday, 06 September 2008, 05:15 PM -0400):
> I was just reading the xml files for the documentation. It seems the "role"
> property is being used but they are all set to "php."(At least in
> Zend.Controller.QuickStart) If these were set correctly anyone who so wished
> could just generate the markup by themselves. Is this something that has not
> been pushed do to the fact it is not implemented in the markup currently? And
> is planned at all for the future?
Actually, other sections define the role appropriately -- I know I've
written some 'role="html"' and 'role="ini"' lines myself.
The problem is with the HTML chunker XSLT -- it only sets a
programlisting class, and ignores the role attribute entirely. We could
certainly fork the XSLT, but this then puts the onus on maintenance to
us, which I'm not sure we're prepared to handle at this time.
> Matthew Weier O'Phinney wrote:
>
> -- Christian South <
[hidden email]> wrote
> (on Thursday, 04 September 2008, 04:31 AM -0400):
>
>
> I don't know how likely this is but it would be nice for the code blocks
> for php and html code in the documentation to be labeled as such. i.e. <code
> class="html"> and <code class="php"> this would make it easier for anyone
> trying to run the docs through a syntax highlighter or other plugin a little
> easier. Like I said just throwing it out there.
>
>
>
> Unfortunately, this isn't easy to achieve. While we can, and do, set the
> "role" property on the <programlisting> tags, the DocBook HTML chunker
> does not utilize this property when generating the HTML markup, and we
> don't really want to start maintaining a fork of the XSLT stylesheets. :(
>
>
>
>
>
--
Matthew Weier O'Phinney
Software Architect |
[hidden email]
Zend Framework |
http://framework.zend.com/