Closed ctrlaltca closed 12 months ago
Can you write a line or two about the issues you have encountered with @link
? and why the move to @see
. No problems, just trying to understand the bigger picture.
Can you write a line or two about the issues you have encountered with
@link
? and why the move to@see
. No problems, just trying to understand the bigger picture.
In the "old times" only @link
existed, and it could accept both an URL or a class/method/variable name .
In the current specs @link can be used only for urls, and @see
must be used for references to classes/methods etc..
There are a few more complications:
{see setMethodName() MethodName}
). The second parameter still exists, but is called "description" and seems to be ignored when {@see }
is used inline .Thank you for this description! It illuminates your very clear view of this issue (and what I-we "need" to be doing better).
I don't know if this helps. Yii2 uses the double bracket [[class]]
instead of @see class
. eg.
* BaseArrayHelper provides concrete implementation for [[ArrayHelper]].
* Do not use BaseArrayHelper. Use [[ArrayHelper]] instead.
Yep, Yii uses its own implementation on top of phpDocumentor: https://github.com/yiisoft/yii2-apidoc
This is finally ready for merging, the results are already online at https://pradosoft.github.io/docs/manual
This PR replaces all < code > tags with markdown tags in phpdoc comments. The Prism js library has been included in prado-phpdoc-template to enable syntax highlight. It looks some more fixes are needed, eg. most link tags seems to be currently broken.