Core pydoctor objects.
The two core objects are Documentable and System. Instances of (subclasses of) Documentable represent the documentable 'things' in the system being documented. An instance of System represents the whole system being documented -- a System is a bad of Documentables, in some sense.
| Class | |
No class docstring; 1/3 class variable documented |
| Class | |
Undocumented |
| Class | |
No class docstring; 4/4 properties, 0/6 instance variable, 0/4 class variable, 3/5 methods documented |
| Class | |
Encapsulate code related to class hierarchies post-processing. |
| Class | |
Undocumented |
| Class | |
An object that can be documented. |
| Class | |
Enum containing values indicating the possible object types. |
| Class | |
Undocumented |
| Class | |
No summary |
| Class | |
Undocumented |
| Class | |
Interface class for building a system. |
| Class | |
Simple int wrapper for linenumbers coming from ast analysis. |
| Class | |
Simple int wrapper for linenumbers coming from docstrings. |
| Class | |
No class docstring; 1/3 property, 4/5 instance variables, 1/1 class variable, 1/4 method documented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Enum containing values indicating how private an object should be. |
| Class | |
Undocumented |
| Class | |
A collection of related documentable objects. |
| Class | |
This class is only an adapter for some System methods related to module building. |
| Exception | |
Undocumented |
| Exception | |
Raised when there is a (handled) fatal error while adding modules to the builder. |
| Function | default |
Undocumented |
| Function | get |
Look for python language powered constructors or classmethod constructors. A constructor MUST be a method accessible in the locals of the class. |
| Function | get |
Fetch the docstring for a documentable. Treat empty docstring as undocumented. |
| Function | import |
Undocumented |
| Function | is |
Whether is class should be considered as an exception and be marked with the special kind DocumentableKind.EXCEPTION. |
| Function | prepend |
Get a new system builder class, that extends the original builder such that it will always use a "fake" package to be the only root object of the system and add new modules under it. |
| Function | topsort |
Given a mapping where each key-value pair correspond to a node and it's predecessors, return the topological order of the nodes. |
| Type Variable | T |
Undocumented |
| Type Alias | |
Undocumented |
| Variable | func |
Undocumented |
| Function | _find |
Find the a non-default python-powered dunder constructor. Returns None if neither __new__ or __init__ are defined. |
| Function | _inherits |
If any of the inherited members of a class variable is an instance variable, then the subclass' class variable become an instance variable as well. |
| Function | _isdatadescriptor |
Undocumented |
| Function | _isfunction |
Undocumented |
| Function | _isignorable |
Undocumented |
| Constant | _STD |
Undocumented |
| Variable | _default |
Undocumented |
| Variable | _ignorable |
Undocumented |
Look for python language powered constructors or classmethod constructors. A constructor MUST be a method accessible in the locals of the class.
Fetch the docstring for a documentable. Treat empty docstring as undocumented.
:returns:
- (docstring, source) if the object is documented.
- (None, None) if the object has no docstring (even inherited).
- (None, source) if the object has an empty docstring.
str, path: Path) -> types.ModuleType:
(source)
¶
Undocumented
Whether is class should be considered as an exception and be marked with the special kind DocumentableKind.EXCEPTION.
type[ ISystemBuilder], package: str) -> type[ ISystemBuilder]:
(source)
¶
Get a new system builder class, that extends the original builder such that it will always use a "fake" package to be the only root object of the system and add new modules under it.
Given a mapping where each key-value pair correspond to a node and it's predecessors, return the topological order of the nodes.
This is a simple wrapper for graphlib.TopologicalSorter.static_order.
Find the a non-default python-powered dunder constructor. Returns None if neither __new__ or __init__ are defined.
| Note | |
| __new__ takes precedence orver __init__. More infos: https://docs.python.org/3/reference/datamodel.html#object.__new__ |
If any of the inherited members of a class variable is an instance variable, then the subclass' class variable become an instance variable as well.