Help documentation-how can I correctly use phpdoc to generate development documentation?

Source: Internet
Author: User
Tags date now
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.