phpDocumentorについて

いつでもググれば出てきそうなんだけれど、それでも折角しらべた内容はまとめておきたいので…..

pear install phpDocumentor

でインストール後、バッチファイルが出来上がるので

c:\php5\phpdoc -d e:\data\public_html\mp\webapp\modules\admin
-t \\sv01\project\2006-02_mobilepro_asp\phpdoc\src\
-ti MobilePRO_ASP
-pp on
-s on
-o HTML:frames:phpedit

ちなみに、パラメータの説明は、phpdoc -hでみることができます。
文字化け対策
これもあちこちにありますが、以下の4ファイルを修正することでOKです。
index.tpl, blank.tpl, header.tpl,top_frame.tpl
ファイルは、ここにあります。

;;個人的に気に入っている HTML:frames:DOM/earthli というテンプレートの場合
;;PEARディレクトリ/data/PhpDocumentor/phpDocumentor/Converters/(下に続く)
HTML/frames/templates/DOM/earthli/templates

http://blog.lunasys.net/entry/8.html
によれば、このバッチファイルを実行すれば全部やってくれるみたい。やっぱりこれでしょ。


Tagged with:
 

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img localsrc="" alt=""> <pre lang="" line="" escaped="" highlight="">