我刚刚开始在内部项目中使用phpDocumentor 。
我想知道是否有办法阻止 phpdoc 在文档中包含时间戳。
使用时间戳,每次更新文档时,git diff 都会充满以下行:
@@ -136,10 +136,10 @@
- <div id="namespace-1177792219" class="accordion-body collapse in">
+ <div id="namespace-1212284973" class="accordion-body collapse in">
@@ -445,7 +445,7 @@
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
- on June 2nd, 2016 at 05:14.
+ on June 2nd, 2016 at 05:33.
拥有超过 30 多个文档文件,这使得文档更新的差异很难阅读。
有没有办法 - 例如。一个phpdoc.xml
配置选项——我可以关闭这些时间戳吗?
配置文档中对日期和时间戳的唯一引用与我没有使用的日志文件有关。
或者,从 git 提交中排除这一点的创造性方法——如果可能的话——也是受欢迎的。