From: silvioprog <sil...@gm...> - 2016-09-14 16:22:34
|
Hello, I've used the @code feature adding examples to my documentation, however, I don't know if the best approach, because I have some long examples with many lines (~250 lines). I've looked at Delphi help, and noticed the following area: [image: Inline image 1] when you click in some link, eg: "Generics Collections TDictionary (Delphi)", it opens the following area: [image: Inline image 3] ie, a specific page showing the full example. So I have a question: can I do something like this with PasDoc? If so, can I put an entire existent example the documentation? For example, supposing I have a real example named "MyExample.dpr" in my examples directory, at the documentation directory, I would do: TSomeClass = class public { This is blahblahblah. @example(../Examples/Cosole/MyExample.dpr) } procedure SomeMethod; end; Thank you! -- Silvio Clécio |