繁体   English   中英

@see和@uses标签未与phpDocumentor一起显示

[英]@see and @uses tags not showing up with phpDocumentor

我正在使用phpDocumentor 2.5.0,并且以下标记未显示在文档中(即使一次完成一次):

//None of these work
 * @see MyClass::someFunction()
 * @see MyClass::someFunction() that does something
 * @uses MyClass::someFunction()
 * @uses MyClass::someFunction() to do something
 * @uses MyClass
 * @uses /MyClass
 * @uses /MyClass::someFunction()

我如何将它们添加到文档中?

我没有使用名称空间。

我正在这样运行phpDocumentor:

phpdoc -d /home/development/code_to_document/ -t /home/development/documentation

这些行来自什么文档块? 只要是真正的文档块: /** * @see MyClass::someFunction() */

并且docblock位于可记录的代码元素(类,方法,函数等)上,那么即使在您的代码项目中未找到MyClass或MyClass :: someFunction(),我也希望这些标签会出现。

如果您的测试代码满足这些要求,那么您可能已经发现了一个错误。 我建议至少尝试几个不同的输出模板,以查看丢失的标记行为是否在所有这些模板上仍然存在。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM