[fpc-pascal] Re: better understanding of fpdoc
Ben
ben.smith.lists at gmail.com
Fri May 20 11:41:33 CEST 2011
On 20/05/2011 09:33, ik wrote:
> 1. Let's say I have a class, enum, record etc... How do I make sure that
> each property/field/item that I want to document will be belong to
> the proper container ?
It is defined in the fpdoc xml documentation file via the "element" tag.
eg: for a type:
<element name="TMyColor">
<short>bla bla...</short>
<descr>...</descr>
</element>
eg: for a field of a record
<element name="TMyRecord.MyField">
<short>MyField support...</short>
</element>
eg: for an enum
<element name="TMyType">
<short>Enum type defining....</short>
</element>
> 2. Is there a way to create a link for a remote site (for example
> wikipedia, specific RFC etc) ?
You use the "url" tag.
eg:
<descr>
<p>
For more information, see the FPC website at: <url
href="http://www.freepascal.org" />
</p>
</descr>
> 3. How can I "compile" fpDoc using fppkg ?
no idea.
--
Ben.
More information about the fpc-pascal
mailing list