Jump to content

HeaderDoc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 68.165.1.189 (talk) at 03:35, 11 December 2007 (Supported plain text languages). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 freely distributed under the Apple Public Source License.

Supported plain text languages

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.

See also