`
gaojingsong
  • 浏览: 1182299 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

【文档生成工具Doxygen介绍】

阅读更多

Doxygen是一种开源跨平台的,以类似JavaDoc风格描述的文档系统,完全支持C、C++、Java、Objective-C和IDL语言,部分支持PHP、C#。注释的语法与Qt-Doc、KDoc和JavaDoc兼容。Doxygen可以从一套归档源文件开始,生成HTML格式的在线类浏览器,或离线的LATEX、RTF参考手册。

 

Doxygen is the de facto standard tool for generating documentation from annotated C++ sources, but it also supports other popular programming languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba, Microsoft, and UNO/OpenOffice flavors), Fortran, VHDL, Tcl, and to some extent D.

 

Doxygen can help you in three ways:

1)It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in LaTeX) from a set of documented source files. There is also support for generating output in RTF (MS-Word), PostScript, hyperlinked PDF, compressed HTML, DocBook and Unix man pages. The documentation is extracted directly from the sources, which makes it much easier to keep the documentation consistent with the source code.

2)You can configure doxygen to extract the code structure from undocumented source files. This is very useful to quickly find your way in large source distributions. Doxygen can also visualize the relations between the various elements by means of include dependency graphs, inheritance diagrams, and collaboration diagrams, which are all generated automatically.

3)You can also use doxygen for creating normal documentation (as I did for the doxygen user manual and doxygen web-site).

 



 

Doxygen  Features

  • Requires very little overhead from the writer of the documentation. Plain text will do, Markdown is support, and for more fancy or structured output HTML tags and/or some of doxygen's special commands can be used.
  • Cross platform: works on Windows and many Unix flavors (including Linux and MacOSX).
  • Indexes, organizes and generates browsable and cross-referenced output even from undocumented code.
  • Generates structured XML output for parsed sources, which can be used by external tools.
  • Supports C/C++, Java, (Corba and Microsoft) Java, Python, VHDL, PHP IDL, C#, Fortran, TCL, Objective-C 2.0, and to some extent D sources.
  • Supports documentation of files, namespaces, packages, classes, structs, unions, templates, variables, functions, typedefs, enums and defines.
  • JavaDoc (1.1), qdoc3 (partially), and ECMA-334 (C# spec.) compatible.
  • Comes with a GUI frontend (Doxywizard) to ease editing the options and run doxygen. The GUI is available on Windows, Linux, and MacOSX.
  • Automatically generates class and collaboration diagrams in HTML (as clickable image maps) and $\mbox{\LaTeX}$ (as Encapsulated PostScript images).
  • Uses the dot tool of the Graphviz tool kit to generate include dependency graphs, collaboration diagrams, call graphs, directory structure graphs, and graphical class hierarchy graphs.
  • Allows grouping of entities in modules and creating a hierarchy of modules.
  • Flexible comment placement: Allows you to put documentation in the header file (before the declaration of an entity), source file (before the definition of an entity) or in a separate file.
  • Generates a list of all members of a class (including any inherited members) along with their protection level.
  • Outputs documentation in on-line format (XHTML and UNIX man page) and off-line format ( $\mbox{\LaTeX}$ and RTF) simultaneously (any of these can be disabled if desired). All formats are optimized for ease of reading. 
    Furthermore, compressed HTML can be generated from HTML output using Microsoft's HTML Help Workshop (Windows only) and PDF can be generated from the $\mbox{\LaTeX}$ output.
  • Support for various third party help formats including HTML Help, docsets, Qt-Help, and eclipse help.
  • Includes a full C preprocessor to allow proper parsing of conditional code fragments and to allow expansion of all or part of macros definitions.
  • Automatically detects public, protected and private sections, as well as the Qt specific signal and slots sections. Extraction of private class members is optional.
  • Automatically generates references to documented classes, files, namespaces and members. Documentation of global functions, global variables, typedefs, defines and enumerations is also supported.
  • References to base/super classes and inherited/overridden members are generated automatically.
  • Includes a fast, rank based search engine to search for strings or words in the class and member documentation (PHP based).
  • Includes an Javascript based live search feature to search for symbols as you type (for small to medium sized projects).
  • You can type normal HTML tags in your documentation. Doxygen will convert them to their equivalent $\mbox{\LaTeX}$, RTF, and man-page counterparts automatically.
  • Allows references to documentation generated for other (doxygen documented) projects (or another part of the same project) in a location independent way.
  • Allows inclusion of source code examples that are automatically cross-referenced with the documentation.
  • Inclusion of undocumented classes is also supported, allowing to quickly learn the structure and interfaces of a (large) piece of code without looking into the implementation details.
  • Allows automatic cross-referencing of (documented) entities with their definition in the source code.
  • All source code fragments are syntax highlighted for ease of reading.
  • Allows inclusion of function/member/class definitions in the documentation.
  • All options are read from an easy to edit and (optionally) annotated configuration file.
  • Documentation and search engine can be transferred to another location or machine without regenerating the documentation.
  • Supports many different character encodings and uses UTF-8 internally and for the generated output.
  • Doxygen can generate a layout which you can use and edit to change the layout of each page.
  • There more than a 100 configurable options to fine-tune the output.
  • Can cope with large projects easily.
  • 大小: 33.4 KB
0
0
分享到:
评论

相关推荐

    自动化文档生成工具DoxyGen 中文说明

    自动化文档生成工具DoxyGen 中文说明 Doxygen 简介 Doxygen 是一个程序文件生成工具,可以将程序中的特定批注转换成为说明文件。它可以帮您产生出漂亮的技术文档,对于后面利用您的程序代码的人将会减少许多的...

    程序文档自动生成工具Doxygen使用手册

    《程序文档自动生成工具Doxygen使用手册》是针对软件开发者设计的一款强大工具,它能够自动为C/C++, Java, C#等编程语言的项目生成详细、结构化的文档。这款工具的核心价值在于它能够显著减轻程序员在编写代码的同时...

    doxygen文档生成工具

    doxygen文档生成工具

    visualc++开发文档生成工具Doxygen教程参考.pdf

    Doxygen 是一个程序文件生成工具,可将程序中的特定批注转换成为说明文件。它可以根据程序本身的结构,将批注经过处理重新整理成为一个纯粹的参考手册,对于后面利用您的程序代码的人而言将会减少许多的负担。 ...

    代码文档生成工具Doxygen:doxygen-1.10.0

    Doxygen是一种开源跨平台的,以类似JavaDoc风格描述的文档系统,完全支持C、C++、Java、Objective-C和IDL语言,部分支持PHP、C#。注释的语法与Qt-Doc、KDoc和JavaDoc兼容。Doxygen可以从一套归档源文件开始,生成...

    Doxygen 文档生成工具

    Doxygen是一款强大的文档生成工具,尤其受到程序员们的青睐,因为它能够自动从源代码中提取文档,使得代码的可读性和维护性大大提高。这个工具支持多种编程语言,包括但不限于C++, C, Java, Objective-C, Python, ...

    VC++文档生成工具-doxygen使用详解

    "VC++文档生成工具-doxygen使用详解" 在VC++项目开发中,doxygen是一种非常常用和必备的工具,类似于gloox等一些开源库的API都是由doxygen自动生成的。Doxygen是一个基于GPL的开源项目,是一个非常优秀的文档系统,...

    程序文档生成工具-Doxygen

    Doxygen是一种开源跨平台的,以类似JavaDoc风格描述的文档系统,完全支持C、C++、Java、Objective-C和IDL语言,部分支持PHP、C#。...首先是特定格式的批注撰写,第二便是利用Doxygen的工具来产生文档。

    C++ 程序文档生成器介绍(doxygen)

    总之,Doxygen作为C++的文档生成工具,是提高代码可读性和团队协作效率的重要工具。通过学习并熟练掌握其使用方法,程序员可以更好地管理和维护项目,减少因文档不全或过时导致的沟通成本和错误。

    doxygen1.6.1文档生成工具

    Doxygen, 大名鼎鼎的文档生成工具,被Boost、OpenCasCade等诸多项目作为文档生成的不二人选。

    自动文档生成doxygen1.5

    【标题】"自动文档生成doxygen1.5" 指的是一个用于C/C++项目的自动化文档生成工具——Doxygen。这个版本号1.5表示该软件的一个特定更新迭代,通常包含了一些新功能、改进和修复了之前版本的错误。 【描述】中提到的...

    程序文档自动生成工具Doxygen安装包

    可自动自动生成C/C++,Java,C#开发文档. 类说明,函数说明,类继承关系图.

    doxygen帮助文档生成工具

    Doxygen是一款强大的开源文档生成工具,主要应用于C++、Java等编程语言,但也支持其他如C、C#、Python等。它能够解析源代码中的注释,自动生成高质量的项目文档,使得开发者能更方便地理解和维护代码。在C++和Java中...

    doxygen和graphviz文档生成工具.rar

    标题中的"doxygen和graphviz文档生成工具"指的是两个用于创建专业软件文档的重要工具。Doxygen是一款开源的、跨平台的文档生成系统,主要用于生成C++项目,但也支持其他编程语言如C、Java、Python等。它通过解析源...

    doxygen套件(代码自动生成工具)

    **doxygen**是一款强大的源代码文档生成工具,广泛应用于C++、C、C#、Java、Python等编程语言。它能够自动从源代码中提取注释,并生成结构化的专业文档,帮助开发者理解和维护代码库。doxygen不仅仅适用于个人开发者...

    doxygen代码文档生成工具

    **doxygen代码文档生成工具** Doxygen是一款强大的开源文档生成工具,主要面向C++,但同时也支持其他编程语言,如C、C#、Java、Python等。它通过解析源代码中的注释,自动生成结构化的专业文档,帮助开发者理解和...

    文档生成工具(Doxygen 1.8.10)

    Doxygen是一个编写软件参考文档的工具。该文档是直接写在代码中,因此比较容易保持更新。 Doxygen 可以交叉引用文档和代码,使文件的读者可以很容易地引用实际的代码。Doxygen的开发作为方便和访问文件系统的C,C,...

Global site tag (gtag.js) - Google Analytics