如何解决使用 phpdocumentor
我不知道如何描述我的脚本。在官网和教程中,他们是这样写block的:
/**
* This is the summary for a DocBlock.
*
* This is the description for a DocBlock. This text may contain
* multiple lines and even some _markdown_.
*/
我将它用于我的脚本:
<?php
/**
* Small Descripton.
*
* Large description to my script
*/
require_once("path2file.php");
echo "start report\n";
function myFunc() {
// ...
}
这不起作用
phpDocumentor -f doc_b_test2.php -t doc2
输出: enter image description here
这张图片没有描述。
我设法为函数或类创建了描述,但我想获得脚本的描述。我究竟做错了什么?也许这是不可能的?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。