最近、PhpDocumentor に出会いました。優れたドキュメンテーション ツールのようです。phpDocumentor に付属の「responsive-twig」をテンプレートとして使用したいと考えています。私は試した;
--template="responsive-twig" コマンド ラインで phpdoc を使用すると、「エラー: 不明なコマンドライン オプション "--template" が検出されました。ヘルプには phpdoc -h を使用してください」と表示されます
/usr/share/php/phpDocumentor/data/phpdoc.tpl.xml の「template」タグの「name」属性を「responsive-twig」に変更しました。デフォルトは「clean」でした。
/usr/share/php/phpDocumentor/phpdoc.dist.xml の「template」タグの「name」属性を「responsive-twig」に変更しました
ただし、デフォルトのテンプレートを変更することはできません。
PEAR経由でphpDocumentorをインストールしました。3 つの phpDocumentor ディレクトリがあります。/var/www に 1 つ、/usr/share/php に他の 2 つ ('phpDocumentor' と 'PhpDocumentor') があります。
/usr/share/php/phpDocumentor/data/templates の下に「responsive-twig」フォルダーがあります。
助けてください!