I want to generate a document through phpdoc, but I have found two problems: 1. on the Internet, it is widely said that the parameter-o selects the generated document type {code ...} however, after execution, the system prompts that the parameter o {code...} is not supported ...} question 2: So I removed the parameter o {code ...} but all the files generated in the result are... I want to generate documents through phpdoc, But I found two problems
Question 1:
It is widely said on the Internet that parameter-o selects the generated document type
phpdoc -o HTML:frames:earthli -f test.php -t docs
However, after execution, the system prompts that parameter o is not supported.
[RuntimeException] The "-o" option does not exist.
Question 2:
So I removed the parameter o.
phpdoc -f test.php -t docs
However, all the files generated by the result are. dat.
How can I use phpdoc to generate documents correctly?
Reply content:
I want to generate documents through phpdoc, But I found two problems
Question 1:
It is widely said on the Internet that parameter-o selects the generated document type
phpdoc -o HTML:frames:earthli -f test.php -t docs
However, after execution, the system prompts that parameter o is not supported.
[RuntimeException] The "-o" option does not exist.
Question 2:
So I removed the parameter o.
phpdoc -f test.php -t docs
However, all the files generated by the result are. dat.
How can I use phpdoc to generate documents correctly?
It is widely said on the Internet that parameter-o selects the generated document type
This is for the old version. It is out of date now.
Now phpdoc uses a template to change the output format.