Re: Re: PhD generated Indexes
| From: | Richard Quadling | Date: | Thu, 07 Jul 2011 09:47:27 +0000 |
| Subject: | Re: Re: PhD generated Indexes | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969382890@lists.php.net to get a copy of this message | ||
On 7 July 2011 08:23, Hannes Magnusson <hannes.magnusson@gmail.com> wrote:
> What other options do we have?
Adding role="xxx" to <refentry> where xxx is one of a predefined set
of values (class, interface, function, method, etc.), would seem to be
one way of going.
During rendering, any <refentry> without a role could be reported, any
using the Format::getDebugTree() method, we'd be able to report
exactly where in the document tree the error is (and possibly suggest
the role based upon its location ... maybe).
I could put together a script that would sync en's refentry roles to
the translations, so this would/should be a one-off exercise. New
translations (either as new langs or new XML files), would manually
set the role.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea