|
From: Michalis K. <mic...@gm...> - 2010-11-19 15:57:45
|
Flavio Campana wrote: > I need to add some tag to PasDoc (especially @version and @since), > nad, if i understood it correctly, i must afdd writing methods in > pasdoc_gen.pas (and derived), and reading methods in pasdoc_items. Is > that right? > It depends on what @tag you make. Typical formatting tags are registered in PasDoc_Gen and formatted in derived classes. Tags that need a special TBaseItem/TPasItem property are registered in PasDoc_Items and formatted in particular generators (PasDoc_GenHtml, PasDoc_GenLatex). @version an @since tag seem like the 2nd case, so yes. Grep for e.g. "lastmod" to see how it's handled. Michalis |