Author: | Janet Swisher, Senior Technical Writer |
---|---|
Organization: | Enthought, Inc. |
Copyright: | 2004 by Enthought, Inc. |
License: | Enthought License (BSD Style) |
The following is excerpted from the full RFP, and is published here with permission from Enthought, Inc. See the Plan for Enthought API Documentation Tool.
Contents
The documentation tool will address the following high-level goals:
The docstrings will be formatted in as terse syntax as possible. Required tags, syntax, and white space should be minimized.
The tool must support the use of Traits. Special comment syntax for Traits may be necessary. Information about the Traits package is available at http://code.enthought.com/traits/. In the following example, each trait definition is prefaced by a plain comment:
__traits__ = { # The current selection within the frame. 'selection' : Trait([], TraitInstance(list)), # The frame has been activated or deactivated. 'activated' : TraitEvent(), 'closing' : TraitEvent(), # The frame is closed. 'closed' : TraitEvent(), }
Support for ReStructuredText (ReST) format is desirable, because much of the existing docstrings uses ReST. However, the complete ReST specification need not be supported, if a subset can achieve the project goals. If the tool does not support ReST, the contractor should also provide a tool or path to convert existing docstrings.
Enthought intends to release the software under an open-source ("BSD-style") license.