On 7 July 2011 08:23, Hannes Magnusson <hannes.magnus...@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

Reply via email to