PhpDocumentor 指南链接缺失

问题描述 投票:0回答:1

我正在尝试创建从文档中的一个页面到

.rst
文件中的另一页面的链接:

Link to another page :doc:`Another Page`

但是当我运行 PHPDocumentor 时

 php phpDocumentor.phar -c .\phpdoc.dist.xml --setting="guides.enabled=true"

HTML 已生成,但我没有获得页面中包含的链接

Link to another page

我做错了什么?

phpdoc phpdocumentor2
1个回答
0
投票

您链接到文档的路径(减去文件扩展名),而不是标题,因此要链接到

another-page.rst
,请按如下方式插入链接:

Link to another page :doc:`another-page`
© www.soinside.com 2019 - 2024. All rights reserved.