我正在記錄一個我使用phpDocumentor在PHP中構建的程序。一切工作都很完美,但文檔顯示我有近100個錯誤,因爲它正在讀取我用來將文件上傳到我的服務器的文件,但我沒有創建。 是否有可能忽略那個給我所有錯誤的特定文件?這是我執行生成的文檔文件的命令:如何忽略phpDocumentor中的特定文件
phpdoc run -d /var/www/html/myprogram/ -t /var/www/html/myprogram/documentation
文件我試圖忽略位於/myprogram
目錄裏面是這樣的:
/modules/module1/uploader.php
我發現的一些信息使用--ignore
,但我不知道這是否指的是與目錄特定的東西。
是否可以在index.php
文件中寫入指示phpDocumentor忽略某些文件的內容?
感謝您的幫助,第二位爲我完成了這項工作:D – Tales