Generate code documents with Doxygen+graphviz Automation (with detailed tutorials)

Source: Internet
Author: User

First, the Primer

With these two tools you can automatically traverse the code, and generate code documents, we first look at the effect, and then release the two tools.

Second, the tool

Doxygen:http://www.stack.nl/~dimitri/doxygen/download.html

graphviz:http://www.graphviz.org/

Third, the use of steps

Install Doxygen First, then unzip the downloaded Graphviz. Then open the Doxygen and follow the diagram below.

The last point of run will be all right.

Attach some of the annotations that Doxygen can identify, which are only more commonly used, not all. For the sake of clarity, I pasted the notes and the code together.

 Packagecom.example.kale.myapplication;/*** Created by Jack Tony on 2015/4/3. * @brief What this class does*/ Public classTestClass {///Enumeration  enumTYPE {type_01,/*!< Enumeration Entries*/type_02,///< Enumeration Entries    }; /*** * <pre><b>copyright:kale</b></pre> * <pre><b>email: </b>[em Ail protected]</pre> * <pre><b>company: </b>http://www.cnblogs.com/tianzhijiexian/</pre> * <pre><b>all Rights reserved.</b></pre> *@seeReference Itemshttp://www.cnblogs.com/tianzhijiexian/* Simple Description of @brief method *@authorAuthor's information * @date 2011/8/24 8:37:56 *@version0.1 * @retval C describes the type of return value * @note annotations, which can be detailed annotations * @remarks notes (remaks) * @attention considerations (ATTENTION) * @warning warning message *@parama description of parameter A *@paramdescription of b parameter B *@returnThis function returns the execution result * *@throwsException*/     PublicString TestFunction (intA, String b)throwsexception{return"Hello World"; }}

Test results for output:

Detailed steps for picture download:http://download.csdn.net/detail/shark0017/8564357

Reference from:

http://blog.csdn.net/liuxuezong/article/details/6713807
Http://www.cnblogs.com/homezzm/archive/2013/07/02/3166602.html
Http://wenku.baidu.com/link?url=XtIQOfIvSriE9_ Mwdqhxspfxm9oavpcwcwklunbvir7im9fvkby9zb2-zdjispt0obgs8gh12nxvs02orj54sj3_s_n-uleyofaaif29xcg
http://www.xjtudll.cn/Exp/245/

Generate code documents with Doxygen+graphviz Automation (with detailed tutorials)

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.