我有 phpdox 来生成我的 API 文档并且它可以工作,但我希望它排除一些目录(如 Zend 和 smarty)。在我的 phpdox.xml 中,收集器部分看起来像这样(它不起作用):
<collector publiconly="false" backend="parser">
<!-- @publiconly - Flag to disable/enable processing of non public methods and members -->
<!-- @backend - The collector back end to use, currently only shipping with 'parser' -->
<!-- <include / exclude filter for filelist generator, mask must follow fnmatch() requirements -->
<include mask="*.php" />
<exclude mask="Zend/*" />
<exclude mask="smarty/*" />
<!-- How to handle inheritance -->
<inheritance resolve="true">
<!-- @resolve - Flag to enable/disable resolving of inheritance -->
<!-- You can define multiple (external) dependencies to be included -->
<!-- <dependency path="" -->
<!-- @path - path to a directory containing an index.xml for a dependency project -->
</inheritance>
</collector>
排除掩码有什么问题?