__init__(self,
docmap,
**kwargs)
(Constructor)
Construct a new HTML formatter, using the given documentation
map.
-
- Parameters:
docmap -
The documentation to output.
(type=DocMap )
- Keyword Parameters:
prj_name -
The name of the project. Defaults to none.
(type=string )
prj_url -
The target for the project hopeage link on the navigation bar.
If prj_url is not specified, then no hyperlink is
created.
(type=string )
prj_link -
The label for the project link on the navigation bar. This
link can contain arbitrary HTML code (e.g. images). By default, a
label is constructed from prj_name .
(type=string )
top -
The top page for the documentation. This is the default page
shown main frame, when frames are enabled. top can
be a URL, the name of a module, the name of a class, or one of
the special strings "trees.html" ,
"indices.html" , or
"help.html" . By default, the top-level
package or module is used, if there is one; otherwise,
"trees" is used.
(type=string )
css -
The CSS stylesheet file. If css is a file name,
then the specified file's conents will be used. Otherwise, if
css is the name of a CSS stylesheet in epydoc.css , then that stylesheet
will be used. Otherwise, an error is reported. If no stylesheet
is specified, then the default stylesheet is used.
(type=string )
private_css -
The CSS stylesheet file for the private API documentation. If
css is a file name, then the specified file's
conents will be used. Otherwise, if css is the name
of a CSS stylesheet in epydoc.css , then that stylesheet
will be used. Otherwise, an error is reported. If no stylesheet
is specified, then the private API documentation will use the
same stylesheet as the public API documentation.
(type=string )
help -
The name of the help file. If no help file is specified, then
the default help file will be used.
(type=string )
private -
Whether to create documentation for private objects. By
default, private objects are documented.
(type=boolean )
frames -
Whether to create a frames-based table of contents. By
default, it is produced.
(type=boolean ))
show_imports -
Whether or not to display lists of imported functions and
classes. By default, they are not shown.
(type=boolean )
index_parameters -
Whether or not to include function parameters in the
identifier index. By default, they are not included.
(type=boolean )
variable_maxlines -
The maximum number of lines that should be displayed for the
value of a variable in the variable details section. By default,
8 lines are displayed.
(type=int )
variable_linelength -
The maximum line length used for displaying the values of
variables in the variable details sections. If a line is longer
than this length, then it will be wrapped to the next line. The
default line length is 70 characters.
(type=int )
variable_summary_linelength -
The maximum line length used for displaying the values of
variables in the summary section. If a line is longer than this
length, then it will be truncated. The default is 40
characters.
(type=int )
variable_tooltip_linelength -
The maximum line length used for tooltips for the values of
variables. If a line is longer than this length, then it will be
truncated. The default is 600 characters.
(type=int )
property_function_linelength -
The maximum line length used to dispaly property functions
(fget , fset , and fdel )
that contain something other than a function object. The dfeault
length is 40 characters.
(type=int )
inheritance -
How inherited objects should be displayed. If
inheritance='grouped' , then inherited objects are
gathered into groups; if inheritance='listed' , then
inherited objects are listed in a short list at the end of their
group; if inheritance='included' , then inherited
objects are mixed in with non-inherited objects. The default is
'grouped'.
(type=string )
|