| nesdoc(1) | General Commands Manual | nesdoc(1) |
nesdoc - generate TinyOS documentation
TinyOS 1.x usage:
nesdoc [documentation-directory] [ncc-options]
files...
TinyOS 2.x: collect documentation from a program:
nesdoc -o documentation-directory [-preserve]
[-new] [-quiet] [-target=platform]
[-topdir=directory] [-app]
[ncc-options] files...
TinyOS 2.x: generate nesdoc HTML pages:
nesdoc -o documentation-directory -html
[-new] [-quiet] [-target=platform]
nesdoc is a tool to automatically extract documentation from nesC files and applications. There are two implementations of nesdoc: an old one that is used by default with TinyOS 1.x trees, and a new used with TinyOS 2.x trees or when the -new option is specified. It is not possible to use the old implementation with TinyOS 2.x.
Documentation directories have a subdirectory for each platform, and contain HTML files describing the components and interfaces in TinyOS. nesdoc generates these files by compiling nesC programs and extracting the documentation information.
When invoked, nesdoc generates documentation for the
program that would be compiled with
ncc ncc-options files...
The old nesdoc adds an HTML file for each component, interface in the compiled application to the documentation directory, and updates several indices. The old nesdoc does not support generic components or interfaces.
The new nesdoc separates HTML generation into two phases. First, an application is compiled and XML descriptions of its components and interfaces are added to the documentation directory. Once XML descriptions have been extracted for all components of interest, HTML pages are generated from this repository by running nesdoc with the -html option.
For more details, see the separate nesdoc documentation.
| April 27, 2004 |