HeaderDoc
From Wikipedia, the free encyclopedia
HeaderDoc | |
---|---|
Developed by | Apple Inc. |
Genre | Documentation generator |
License | Apple Public Source License |
Website | http://developer.apple.com/opensource/tools/headerdoc.html |
HeaderDoc is documentation generator developed and maintained by Apple Inc. Using specially commented source code files as input, HeaderDoc generates documentation for the code in HTML or XML format. Syntax for HeaderDoc comment tags is largely similar to, and as of HeaderDoc version 8, supportive of Javadoc tags. Apple's HeaderDoc project is free, open source software distributed under the Apple Public Source License.
[edit] Supported plain text languages
- Bash
- Bourne Shell
- C Shell
- C Programming Language
- C++
- Korn Shell
- Java programming language
- Javascript
- Mach MIG definitions [1]
- Objective-C
- Pascal programming language
- Perl
- PHP
The HeaderDoc tool set consists of the main utility, headerdoc2html, and gatherheaderdoc. The headerdoc2html tool generates a directory of either HTML (or optionally XML) files from the commented source files specified. Afterwards, the gatherheaderdoc utility may be executed to create a table of contents file for the documentation. Finally, the resolveLinks utility may be used to resolve cross-references between multiple documentation collections.
Apple's Xcode development environment contains features designed to assist the process of creating documentation using the HeaderDoc syntax and tools.
The HeaderDoc suite also includes tools for generating manual pages from a simple XML dialect that resembles HTML, and provides a bridging tool that helps generate manual pages from header comments for functions via XML.
[edit] See also
- Comparison of documentation generators
- Standard interface documentation