[fpc-devel] fpdoc's link attribute in Section tags

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Aug 13 14:02:43 CEST 2010


Hi  [me again],  :)

The 'link' attribute inside section tags where introduced so that
descendant classes can link documentation from base classes - without
having to duplicate the documentation.


eg:

   TBaseButton = class()
   protected
     property ImageName: string....;      //<-- docs done here
   end;

   TButton = class(TBaseClass)
   published
     property ImageName;        // <-- docs here is a link to base class
   end;


This works in the HTML output writer (which isn't a linear writer
descendant). This doesn't work in any of the Linear output writers.  Was
this by design - maybe to prevent duplicate documentation in PDF's or
something?  Or simply another oversight?



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list