~ubuntu-branches/debian/lenny/epydoc/lenny

« back to all changes in this revision

Viewing changes to doc/api/private/epydoc-module.html

  • Committer: Bazaar Package Importer
  • Author(s): Kenneth J. Pronovici
  • Date: 2008-02-03 13:22:12 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080203132212-u2uohl6rswmlz2ra
Tags: 3.0.1-1
* New upstream release.
* Removed #! from top of epydoc/gui.py
* Got rid of version mangling in debian/watch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="iso-8859-1"?>
2
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
 
          "DTD/xhtml1-transitional.dtd">
4
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<head>
6
 
  <title>epydoc</title>
7
 
  <link rel="stylesheet" href="epydoc.css" type="text/css"></link>
8
 
</head>
9
 
<body bgcolor="white" text="black" link="blue" vlink="#204080"
10
 
      alink="#204080">
11
 
 
12
 
<!-- =========== START OF NAVBAR =========== -->
13
 
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
14
 
  <tr valign="center">
15
 
    <th bgcolor="#70b0f0" class="navselect">&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>
16
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
17
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
18
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
19
 
    <th class="navbar" align="right" width="100%">
20
 
      <table border="0" cellpadding="0" cellspacing="0">
21
 
      <tr><th class="navbar" align="center">
22
 
        <p class="nomargin">
23
 
          <a class="navbar" target="_top" href="http://epydoc.sourceforge.net">epydoc 2.0</a>
24
 
      </p></th></tr></table>
25
 
    </th>
26
 
  </tr>
27
 
</table>
28
 
<table width="100%" cellpadding="0" cellspacing="0">
29
 
  <tr valign="top">
30
 
    <td width="100%">
31
 
      <font size="-1"><b class="breadcrumbs">
32
 
        Package&nbsp;epydoc
33
 
      </b></font></br>
34
 
    </td>
35
 
    <td><table cellpadding="0" cellspacing="0">
36
 
      <tr><td align="right"><font size="-2">[show&nbsp;private&nbsp;|&nbsp;<a href="../public/epydoc-module.html">hide&nbsp;private</a>]</font></td></tr>
37
 
      <tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a>&nbsp;|&nbsp;<a href="epydoc-module.html" target="_top">no&nbsp;frames</a>]</font></td></tr>
38
 
    </table></td>
39
 
</tr></table>
40
 
 
41
 
<!-- =========== START OF PACKAGE DESCRIPTION =========== -->
42
 
<h2 class="package">Package epydoc</h2>
43
 
 
44
 
Automatic Python reference documentation generator. Epydoc processes 
45
 
Python modules and docstrings to generate formatted API documentation, in 
46
 
the form of HTML pages. Epydoc can be used via a command-line interface 
47
 
(<a href="epydoc.cli-module.html" 
48
 
class="link"><code>epydoc.cli</code></a>) and a graphical interface (<a 
49
 
href="epydoc.gui-module.html" class="link"><code>epydoc.gui</code></a>). 
50
 
Both interfaces let the user specify a set of modules to document, and 
51
 
produce API documentation using the following steps:
52
 
<ol start="1">
53
 
  <li>
54
 
    Import the requested modules, using <a 
55
 
    href="epydoc.imports-module.html" 
56
 
    class="link"><code>epydoc.imports</code></a>.
57
 
  </li>
58
 
  <li>
59
 
    Construct documentation for each object, using <a 
60
 
    href="epydoc.objdoc-module.html" 
61
 
    class="link"><code>epydoc.objdoc</code></a>.
62
 
    <ul>
63
 
      <li>
64
 
        <a href="epydoc.uid-module.html" 
65
 
        class="link"><code>epydoc.uid</code></a> is used to create unique 
66
 
        identifiers for each object.
67
 
      </li>
68
 
      <li>
69
 
        The <a href="epydoc.markup-module.html" 
70
 
        class="link"><code>epydoc.markup</code></a> package is used to 
71
 
        parse the objects' documentation strings.
72
 
      </li>
73
 
    </ul>
74
 
  </li>
75
 
  <li>
76
 
    Generate output, using <a href="epydoc.html-module.html" 
77
 
    class="link"><code>epydoc.html</code></a> or <a 
78
 
    href="epydoc.latex-module.html" 
79
 
    class="link"><code>epydoc.latex</code></a>.
80
 
    <ul>
81
 
      <li>
82
 
        <a href="epydoc.css-module.html" 
83
 
        class="link"><code>epydoc.css</code></a> is used to generate the 
84
 
        CSS stylehseet for HTML output.
85
 
      </li>
86
 
      <li>
87
 
        <a href="epydoc.help-module.html" 
88
 
        class="link"><code>epydoc.help</code></a> is used to generate the 
89
 
        help page for HTML output.
90
 
      </li>
91
 
      <li>
92
 
        <a href="epydoc.colorize-module.html" 
93
 
        class="link"><code>epydoc.colorize</code></a> is used to colorize 
94
 
        doctest blocks and regular expressions variable values for HTML 
95
 
        output.
96
 
      </li>
97
 
    </ul>
98
 
  </li>
99
 
</ol>
100
 
<hr/>
101
 
<p><b>Version:</b> 2.1
102
 
</p>
103
 
 
104
 
<p><b>Author:</b> <a href="mailto:edloper&#64;gradient.cis.upenn.edu">Edward 
105
 
Loper</a>
106
 
</p>
107
 
 
108
 
<p><b>Copyright:</b> (C) 2003 Edward Loper
109
 
</p>
110
 
 
111
 
<p><b>License:</b> IBM Open Source License
112
 
</p>
113
 
 
114
 
<p><b>Requires:</b> Python 2.1+, or Python 2.0 with <a 
115
 
href="http://lfw.org/python/inspect.html"><code>inspect.py</code></a>.
116
 
</p>
117
 
 
118
 
<dl><dt><b>See Also:</b></dt>
119
 
  <dd>
120
 
    <a href="http://epydoc.sourceforge.net">The epydoc webpage</a>,
121
 
    <a href="http://epydoc.sourceforge.net/epytext.html">The epytext 
122
 
markup language manual</a>
123
 
  </dd>
124
 
</dl>
125
 
 
126
 
<p><b>To Do:</b> Consider other names for <code>&#64;undocumented</code>: 
127
 
<code>&#64;bypass</code>, <code>&#64;nodoc</code>, 
128
 
<code>&#64;exclude</code>, <code>&#64;omit</code>?
129
 
</p>
130
 
 
131
 
<p><b>To Do for Version 3.0:</b>
132
 
<ul>
133
 
  <li>Support encodings.
134
 
</li>
135
 
  <li>Refactor <a href="epydoc.objdoc.ObjDoc-class.html" 
136
 
class="link"><code>epydoc.objdoc.ObjDoc</code></a>:
137
 
<ul>
138
 
  <li>
139
 
    <code>ObjDoc</code>s will contain info about objects, but not 
140
 
    gather it.
141
 
  </li>
142
 
  <li>
143
 
    An <code>inspection</code> module will gather info via 
144
 
    inspection.
145
 
  </li>
146
 
  <li>
147
 
    A new <code>parsing</code> module will provide an alternative, 
148
 
    gathering info by parsing python files.
149
 
  </li>
150
 
  <li>
151
 
    <code>Var</code> will be replaced by <code>VarDoc</code>, a 
152
 
    subclass of <code>ObjDoc</code>.
153
 
  </li>
154
 
  <li>
155
 
    Structure <code>ObjDoc</code>s in a directed acyclic graph, rather 
156
 
    than using a links and a dictionary? Are non-directed cycles a 
157
 
    problem? Interaction of the access hierarchy (a.b.c) and the base 
158
 
    class hierarchy? What does pydoc do?
159
 
  </li>
160
 
</ul>
161
 
</li>
162
 
  <li>Create a better default top_page than trees.html.
163
 
</li>
164
 
  <li>Add the man-page style outputter. (epyman)
165
 
</li>
166
 
  <li>Docstring inheritance for overridden properties.
167
 
</li>
168
 
  <li>Optimize epytext
169
 
<ul>
170
 
  <li>
171
 
    Use classes instead of minidom nodes?
172
 
  </li>
173
 
</ul>
174
 
</li>
175
 
  <li>Rewrite <code>epydoc.uid.findUID</code> to be more robust.
176
 
 
177
 
  </li>
178
 
</ul></p>
179
 
 
180
 
<p><b>Contributors (Alphabetical Order):</b>
181
 
<ul>
182
 
  <li><a href="mailto:glyph&#64;twistedmatrix.com">Glyph Lefkowitz</a>
183
 
</li>
184
 
  <li><a href="mailto:edloper&#64;gradient.cis.upenn.edu">Edward 
185
 
Loper</a>
186
 
</li>
187
 
  <li><a href="mailto:bruce&#64;cubik.org">Bruce Mitchener</a>
188
 
</li>
189
 
  <li><a href="mailto:spamies&#64;bipbap.de">Simon Pamies</a>
190
 
</li>
191
 
  <li><a href="mailto:kiko&#64;async.com.br">Christian Reis</a>
192
 
</li>
193
 
  <li><a href="mailto:jeff&#64;ohalloran.ca">Jeff O'Halloran</a>
194
 
 
195
 
  </li>
196
 
</ul></p>
197
 
 
198
 
 
199
 
<!-- =========== START OF SUBMODULES =========== -->
200
 
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
201
 
<tr bgcolor="#70b0f0" class="details">
202
 
  <th colspan="2">Submodules</th></tr>
203
 
  <tr><td><ul>
204
 
<li> <b><a href="epydoc.foog-module.html"><code>foog</code></a></b>
205
 
  </ul></td></tr>
206
 
<tr bgcolor="#e8f0f8" class="group">
207
 
  <th colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;Interface Modules</th></tr>
208
 
  <tr><td><ul>
209
 
<li> <b><a href="epydoc.cli-module.html"><code>cli</code></a></b>: <i>Command-line interface for epydoc.</i>
210
 
<li> <b><a href="epydoc.gui-module.html"><code>gui</code></a></b>: <i>Graphical interface to epydoc.</i>
211
 
  </ul></td></tr>
212
 
<tr bgcolor="#e8f0f8" class="group">
213
 
  <th colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;Inspection Modules</th></tr>
214
 
  <tr><td><ul>
215
 
<li> <b><a href="epydoc.uid-module.html"><code>uid</code></a></b>: <i>Unique identifiers and crossreference links for Python objects.</i>
216
 
<li> <b><a href="epydoc.objdoc-module.html"><code>objdoc</code></a></b>: <i>Support for <code>ObjDoc</code>s, which encode the information about a 
217
 
Python object that is necessary to create its documentation.</i>
218
 
<li> <b><a href="epydoc.imports-module.html"><code>imports</code></a></b>: <i>Module import support for epydoc.</i>
219
 
  </ul></td></tr>
220
 
<tr bgcolor="#e8f0f8" class="group">
221
 
  <th colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;Docstring Parsing Modules</th></tr>
222
 
  <tr><td><ul>
223
 
<li> <b><a href="epydoc.markup-module.html"><code>markup</code></a></b>: <i>Markup language support for docstrings.</i>
224
 
  <ul>
225
 
    <li> <b><a href="epydoc.markup.epytext-module.html"><code>epytext</code></a></b>: <i>Parser for epytext strings.</i>
226
 
    <li> <b><a href="epydoc.markup.javadoc-module.html"><code>javadoc</code></a></b>: <i>Epydoc parser for <a 
227
 
href="http://java.sun.com/j2se/javadoc/">Javadoc</a> docstrings.</i>
228
 
    <li> <b><a href="epydoc.markup.plaintext-module.html"><code>plaintext</code></a></b>: <i>Parser for plaintext docstrings.</i>
229
 
    <li> <b><a href="epydoc.markup.restructuredtext-module.html"><code>restructuredtext</code></a></b>: <i>Epydoc parser for ReStructuredText strings.</i>
230
 
  </ul>
231
 
  </ul></td></tr>
232
 
<tr bgcolor="#e8f0f8" class="group">
233
 
  <th colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;Documentation Output Modules</th></tr>
234
 
  <tr><td><ul>
235
 
<li> <b><a href="epydoc.html-module.html"><code>html</code></a></b>: <i>Documentation to HTML converter.</i>
236
 
<li> <b><a href="epydoc.css-module.html"><code>css</code></a></b>: <i>Predefined CSS stylesheets for the HTML outputter (<a 
237
 
href="epydoc.html-module.html" 
238
 
class="link"><code>epydoc.html</code></a>).</i>
239
 
<li> <b><a href="epydoc.help-module.html"><code>help</code></a></b>: <i>Default help file for the HTML outputter (<a 
240
 
href="epydoc.html-module.html" 
241
 
class="link"><code>epydoc.html</code></a>).</i>
242
 
<li> <b><a href="epydoc.colorize-module.html"><code>colorize</code></a></b>: <i>Functions to produce colorized HTML code for various objects.</i>
243
 
<li> <b><a href="epydoc.latex-module.html"><code>latex</code></a></b>: <i>Documentation to LaTeX converter.</i>
244
 
<li> <b><a href="epydoc.man-module.html"><code>man</code></a></b>: <i>Documentation formatter that produces man-style documentation.</i>
245
 
  </ul></td></tr>
246
 
<tr bgcolor="#e8f0f8" class="group">
247
 
  <th colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;Testing Modules</th></tr>
248
 
  <tr><td><ul>
249
 
<li> <b><a href="epydoc.checker-module.html"><code>checker</code></a></b>: <i>Documentation completeness checker.</i>
250
 
<li> <b><a href="epydoc.test-module.html"><code>test</code></a></b>: <i>Unit tests for the NLTK modules.</i>
251
 
  <ul>
252
 
    <li> <b><a href="epydoc.test.epytext-module.html"><code>epytext</code></a></b>: <i>Regression testing for the epytext markup language.</i>
253
 
  </ul>
254
 
  </ul></td></tr>
255
 
</table><br />
256
 
 
257
 
 
258
 
<!-- =========== START OF VARIABLE SUMMARY =========== -->
259
 
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
260
 
<tr bgcolor="#70b0f0" class="summary">
261
 
  <th colspan="2">Variable Summary</th></tr>
262
 
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
263
 
<td><b><a href="epydoc-module.html#__author__"><code>__author__</code></a></b> = <span title="'Edward Loper &lt;edloper@gradient.cis.upenn.edu&gt;'"><code><span class="variable-quote">'</span>Edward&nbsp;Loper&nbsp;&lt;edloper&#64;gradient.cis.upenn.e<span class="variable-ellipsis">...</span></code>
264
 
</span></td></tr>
265
 
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
266
 
<td><b><a href="epydoc-module.html#__license__"><code>__license__</code></a></b>: The license governing the use and distribution of epydoc.</td></tr>
267
 
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
268
 
<td><b><a href="epydoc-module.html#__url__"><code>__url__</code></a></b> = <span title="'http://epydoc.sourceforge.net'"><code><span class="variable-quote">'</span>http://epydoc.sourceforge.net<span class="variable-quote">'</span>                </code>
269
 
</span></td></tr>
270
 
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
271
 
<td><b><a href="epydoc-module.html#__version__"><code>__version__</code></a></b> = <span title="'2.1'"><code><span class="variable-quote">'</span>2.1<span class="variable-quote">'</span>                                      </code>
272
 
</span></td></tr>
273
 
</table><br />
274
 
 
275
 
 
276
 
<!-- =========== START OF VARIABLE DETAILS =========== -->
277
 
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
278
 
<tr bgcolor="#70b0f0" class="details">
279
 
  <th colspan="2">Variable Details</th></tr>
280
 
</table>
281
 
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
282
 
<a name="__author__"></a>
283
 
<h3>__author__</h3>
284
 
<dl>
285
 
  <dt></dt>
286
 
  <dd>
287
 
    <dl>
288
 
      <dt><b>Type:</b></dt>
289
 
      <dd>
290
 
          <code>str</code>
291
 
 
292
 
      </dd>
293
 
<span title="'Edward Loper &lt;edloper@gradient.cis.upenn.edu&gt;'">      <dt><b>Value:</b></dt>
294
 
      <dd><table><tr><td>
295
 
<pre class="variable">
296
 
<span class="variable-quote">'</span>Edward Loper &lt;edloper&#64;gradient.cis.upenn.edu&gt;<span class="variable-quote">'</span>                        </pre>
297
 
        </td></tr></table></dd>
298
 
</span>    </dl>
299
 
  </dd>
300
 
</dl></td></tr></table>
301
 
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
302
 
<a name="__license__"></a>
303
 
<h3>__license__</h3>
304
 
The license governing the use and distribution of epydoc.
305
 
<dl>
306
 
  <dt></dt>
307
 
  <dd>
308
 
    <dl>
309
 
      <dt><b>Type:</b></dt>
310
 
      <dd>
311
 
          <code>str</code>
312
 
 
313
 
      </dd>
314
 
<span title="'IBM Open Source License'">      <dt><b>Value:</b></dt>
315
 
      <dd><table><tr><td>
316
 
<pre class="variable">
317
 
<span class="variable-quote">'</span>IBM Open Source License<span class="variable-quote">'</span>                                              </pre>
318
 
        </td></tr></table></dd>
319
 
</span>    </dl>
320
 
  </dd>
321
 
</dl></td></tr></table>
322
 
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
323
 
<a name="__url__"></a>
324
 
<h3>__url__</h3>
325
 
<dl>
326
 
  <dt></dt>
327
 
  <dd>
328
 
    <dl>
329
 
      <dt><b>Type:</b></dt>
330
 
      <dd>
331
 
          <code>str</code>
332
 
 
333
 
      </dd>
334
 
<span title="'http://epydoc.sourceforge.net'">      <dt><b>Value:</b></dt>
335
 
      <dd><table><tr><td>
336
 
<pre class="variable">
337
 
<span class="variable-quote">'</span>http://epydoc.sourceforge.net<span class="variable-quote">'</span>                                        </pre>
338
 
        </td></tr></table></dd>
339
 
</span>    </dl>
340
 
  </dd>
341
 
</dl></td></tr></table>
342
 
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
343
 
<a name="__version__"></a>
344
 
<h3>__version__</h3>
345
 
<dl>
346
 
  <dt></dt>
347
 
  <dd>
348
 
    <dl>
349
 
      <dt><b>Type:</b></dt>
350
 
      <dd>
351
 
          <code>str</code>
352
 
 
353
 
      </dd>
354
 
<span title="'2.1'">      <dt><b>Value:</b></dt>
355
 
      <dd><table><tr><td>
356
 
<pre class="variable">
357
 
<span class="variable-quote">'</span>2.1<span class="variable-quote">'</span>                                                                  </pre>
358
 
        </td></tr></table></dd>
359
 
</span>    </dl>
360
 
  </dd>
361
 
</dl></td></tr></table>
362
 
<br />
363
 
 
364
 
 
365
 
<!-- =========== START OF NAVBAR =========== -->
366
 
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
367
 
  <tr valign="center">
368
 
    <th bgcolor="#70b0f0" class="navselect">&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>
369
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
370
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
371
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
372
 
    <th class="navbar" align="right" width="100%">
373
 
      <table border="0" cellpadding="0" cellspacing="0">
374
 
      <tr><th class="navbar" align="center">
375
 
        <p class="nomargin">
376
 
          <a class="navbar" target="_top" href="http://epydoc.sourceforge.net">epydoc 2.0</a>
377
 
      </p></th></tr></table>
378
 
    </th>
379
 
  </tr>
380
 
</table>
381
 
 
382
 
<table border="0" cellpadding="0" cellspacing="0" width="100%">
383
 
  <tr>
384
 
    <td align="left"><font size="-2">Generated by Epydoc 2.1 on Sat Mar 20 17:46:19 2004</font></td>
385
 
    <td align="right"><a href="http://epydoc.sourceforge.net"
386
 
                      ><font size="-2">http://epydoc.sf.net</font></a></td>
387
 
  </tr>
388
 
</table>
389
 
</body>
390
 
</html>