[Lazarus] Linking to properties in fpdoc files
Michael Van Canneyt
michael at freepascal.org
Sun Oct 16 16:00:42 CEST 2011
On Sun, 16 Oct 2011, Hans-Peter Diettrich wrote:
> When I want to link the documentation of property getters and setters to the
> property documentation, how should this be done? (fpdoc 2.7.1)
>
> The following snippet from controls.xml results in strange HTML:
> <!-- function Visibility: protected -->
> <element name="TControl.GetCursor" link="TControl.Cursor"/>
> <element name="TControl.GetCursor.Result">
> <short/>
> </element>
>
> In controls/index.html the short description of GetCursor is taken from
> Cursor, that's fine :-)
>
> But the link looks like this:
> <a href="../../test/controls/index.html">GetCursor</a>
> what certainly is not the expected target :-(
>
> A tcontrol.getcursor.html is not created - this is what I want to achieve,
> but does it confuse fpdoc, so that it creates a bad replacement link into the
> index?
Hm. That should not happen. I will have to look at it.
But, please enter a bug report, so I do not forget this.
Michael.
More information about the Lazarus
mailing list