Construct data structures that encode the API documentation for Python
objects. These data structures are created using a series of steps:
The documentation information for each individual object is
represented using an APIDoc; and the documentation for a collection of
objects is represented using a DocIndex.
The remaining functions are used by these two main functions to
perform individual steps in the creation of the documentation.
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
APIDoc
|
build_doc(item,
introspect=True,
parse=True,
add_submodules=True,
exclude_introspect=None,
exclude_parse=None,
inherit_from_object=False)
Build API documentation for a given item, and return it as an APIDoc
object. |
source code
|
|
DocIndex
|
build_doc_index(items,
introspect=True,
parse=True,
add_submodules=True,
exclude_introspect=None,
exclude_parse=None,
inherit_from_object=False)
Build API documentation for the given list of items, and return it in
the form of a DocIndex. |
source code
call graph
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
_get_docs_from_pyobject(obj,
options,
progress_estimator) |
source code
|
|
|
_get_docs_from_pyname(name,
options,
progress_estimator,
suppress_warnings=False) |
source code
|
|
|
_get_docs_from_pyscript(filename,
options,
progress_estimator) |
source code
|
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
|
merge_docs(introspect_doc,
parse_doc,
cyclecheck=None,
path=None)
Merge the API documentation information that was obtained from
introspection with information that was obtained from parsing. |
source code
call graph
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
merge_overrides(v1,
v2,
precedence,
cyclecheck,
path) |
source code
|
|
|
merge_fget(v1,
v2,
precedence,
cyclecheck,
path) |
source code
|
|
|
merge_fset(v1,
v2,
precedence,
cyclecheck,
path) |
source code
|
|
|
merge_fdel(v1,
v2,
precedence,
cyclecheck,
path) |
source code
|
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
_fix_self_shadowing_var(var_doc,
varname,
docindex) |
source code
|
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
_inherit_info(var_doc)
Copy any relevant documentation information from the variable that
var_doc overrides into var_doc itself. |
source code
call graph
|
|
Call Graph |
|