Tahir
Tahir

Reputation: 733

PHP Documentor --output option

I have installed PHP Documentor through PEAR. but output option is not working. when i use simple command like

phpdoc -d source/path -t target/path --template responsive

it works fine. but when i use -o or --output option like this

phpdoc -d source/path -t target/path -o PDF:default:*

it gives following error.

[RuntimeException]

The "-o" option does not exist.

i have tried other output formats as well like -o HTML:Smarty:PHP and -o HTML:Smarty:default but the result is same.

Upvotes: 9

Views: 4004

Answers (2)

websky
websky

Reputation: 3172

In the new version 2. * yet there is no such pdf template. There is not also the option -o.

there are only http://www.phpdoc.org/templates

template selection

phpdoc --template="clean" --template="checkstyle" -d .

BTW I use the older version (1.4.4) I wanted to save to pdf.

phpdoc -o PDF:default:default -t ./docs -d ./

But created an bad document. Maybe version 1.4.4 does not work with PHP 5.5.11 on the issue in PDF format.

I managed in version 1.4.4 only generate HTML.

phpdoc -o HTML:frames:earthli -t ./docs -d ./

So I went back to version 2 * and I wait pdf template.

Upvotes: 1

atmon3r
atmon3r

Reputation: 1980

the -o option does not exist on phpdocs 2
Look option whit:

phpdoc -h

Upvotes: 3

Related Questions