On 12 July 2011 09:30, Hannes Magnusson <hannes.magnus...@gmail.com> wrote: > On Thu, Jul 7, 2011 at 11:47, Richard Quadling <rquadl...@gmail.com> wrote: >> 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. > > > The problem with that approach is that we only use role="noversion" > for some refentries... > > -Hannes >
Would treating role="" for like you can treat class="" in HTML? i.e. role="noversion function" As I understand things, role is essentially free text and reader interpreted. We can put any meta data in there that we want and it is up to us to process it. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea