本文介绍了无法从PHPDocumentor中排除目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的WAMPServer设置上运行PHPDocumentor。它运行正常,但我想排除某些目录,如\sqlbuddy\它不包含我自己的代码。讽刺的是,PHPDocumentor似乎忽略了我的--ignore开关。我尝试了几种表达相同的东西的方式,但是结果相同。以下是我正在运行的命令:

  php.exeC:\Users\username\Documents \PhpDocumentor\phpdoc-tC:\Program Files\wamp\www\docs-o HTML:default:default -dC:\Program Files\wamp\www - -ignore sqlbuddy\ --ignore docs\ 

非常感谢。

解决方案

你使用哪个版本的phpDocumentor?



因为说明:


I'm trying to run PHPDocumentor on my WAMPServer setup. It runs fine, but I'd like to exclude certain directories, such as \sqlbuddy\ which don't contain my own code. Ironically, PHPDocumentor appears to be ignoring my --ignore switch. I've tried several ways of expressing the same thing, but with the same result. Below is the command I'm running it with:

php.exe "C:\Users\username\Documents\PhpDocumentor\phpdoc" -t "C:\Program Files\wamp\www\docs" -o HTML:default:default -d "C:\Program Files\wamp\www" --ignore sqlbuddy\ --ignore docs\

Many thanks.

解决方案

Which version of phpDocumentor are you using?

Because the phpDocumentor 1.4.2 release notes states:

这篇关于无法从PHPDocumentor中排除目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-29 07:09