Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | page |
def | heading |
def | section |
def | bigsection |
def | preformat |
def | multicolumn |
def | grey |
def | namelink |
def | classlink |
def | modulelink |
def | modpkglink |
def | markup |
def | formattree |
def | docmodule |
def | docclass |
def | formatvalue |
def | docroutine |
def | docother |
def | index |
![]() | |
def | document |
def | fail |
Data Fields | |
needone | |
Static Public Attributes | |
repr = _repr_instance.repr | |
escape = _repr_instance.escape | |
![]() | |
docmodule = fail | |
def bigsection | ( | self, | |
title, | |||
args | |||
) |
Format a section with a big heading.
Definition at line 377 of file pydoc.py.
References NoSectionError.section, DuplicateSectionError.section, NoOptionError.section, InterpolationError.section, InterpolationDepthError.section, and HTMLDoc.section().
def classlink | ( | self, | |
object, | |||
modname | |||
) |
def docclass | ( | self, | |
object, | |||
name = None , |
|||
mod = None , |
|||
funcs = {} , |
|||
classes = {} , |
|||
ignored | |||
) |
Produce HTML documentation for a class object.
Definition at line 608 of file pydoc.py.
References audiodev.__init__().
def docmodule | ( | self, | |
object, | |||
name = None , |
|||
mod = None , |
|||
ignored | |||
) |
Produce HTML documentation for a module object.
Definition at line 492 of file pydoc.py.
References HTMLDoc.bigsection(), HTMLDoc.docclass(), Doc.document(), HTMLDoc.escape, HTMLDoc.formattree(), inspect.getabsfile(), inspect.getclasstree(), pydoc.getdoc(), inspect.getmembers(), inspect.getmodule(), inspect.getmodulename(), HTMLDoc.heading(), inspect.isbuiltin(), inspect.isfunction(), pydoc.ispackage(), dospath.join(), HTMLDoc.markup(), HTMLDoc.modpkglink(), HTMLDoc.multicolumn(), nturl2path.pathname2url(), HTMLDoc.preformat(), dospath.split(), locale.str(), and string.strip().
def docother | ( | self, | |
object, | |||
name = None , |
|||
mod = None , |
|||
ignored | |||
) |
Produce HTML documentation for a data object.
Definition at line 807 of file pydoc.py.
References HTMLDoc.repr.
def docroutine | ( | self, | |
object, | |||
name = None , |
|||
mod = None , |
|||
funcs = {} , |
|||
classes = {} , |
|||
methods = {} , |
|||
cl = None |
|||
) |
Produce HTML documentation for a function or method object.
Definition at line 754 of file pydoc.py.
References HTMLDoc.classlink(), inspect.formatargspec(), HTMLDoc.formatvalue(), inspect.getargspec(), pydoc.getdoc(), HTMLDoc.grey(), inspect.isfunction(), inspect.ismethod(), HTMLDoc.markup(), and HTMLDoc.preformat().
def formattree | ( | self, | |
tree, | |||
modname, | |||
parent = None |
|||
) |
Produce HTML for a class tree as given by inspect.getclasstree().
Definition at line 473 of file pydoc.py.
References HTMLDoc.classlink(), HTMLDoc.formattree(), and dospath.join().
def formatvalue | ( | self, | |
object | |||
) |
Format an argument default value as text.
Definition at line 749 of file pydoc.py.
References HTMLDoc.docroutine(), HTMLDoc.grey(), and HTMLDoc.repr.
def grey | ( | self, | |
text | |||
) |
def heading | ( | self, | |
title, | |||
fgcol, | |||
bgcol, | |||
extras = '' |
|||
) |
def index | ( | self, | |
dir, | |||
shadowed = None |
|||
) |
Generate an HTML index for a directory of modules.
Definition at line 812 of file pydoc.py.
References HTMLDoc.bigsection(), inspect.getmodulename(), pydoc.ispackage(), HTMLDoc.modpkglink(), and HTMLDoc.multicolumn().
def markup | ( | self, | |
text, | |||
escape = None , |
|||
funcs = {} , |
|||
classes = {} , |
|||
methods = {} |
|||
) |
Mark up some plain text, given a context of symbols to look for. Each context dictionary maps object names to anchor names.
Definition at line 435 of file pydoc.py.
References HTMLDoc.escape, dospath.join(), HTMLDoc.namelink(), and pydoc.replace().
def modpkglink | ( | self, | |
name, | |||
path, | |||
ispackage, | |||
shadowed | |||
) |
Make a link for a module or package to display in an index.
Definition at line 421 of file pydoc.py.
References HTMLDoc.grey().
def multicolumn | ( | self, | |
list, | |||
format, | |||
cols = 4 |
|||
) |
Format a list of items into a multi-column list.
Definition at line 388 of file pydoc.py.
References locale.format().
def namelink | ( | self, | |
name, | |||
dicts | |||
) |
Make a link for an identifier, given name-to-URL mappings.
def preformat | ( | self, | |
text | |||
) |
Format literal preformatted text.
Definition at line 382 of file pydoc.py.
References HTMLDoc.escape, string.expandtabs(), and pydoc.replace().
def section | ( | self, | |
title, | |||
fgcol, | |||
bgcol, | |||
contents, | |||
width = 10 , |
|||
prelude = '' , |
|||
marginalia = None , |
|||
gap = ' ' |
|||
) |