class documentation

This class is only an adapter for some System methods related to module building.

Method __init__ Create the builder.
Method addModule Add a module or package from file system path to the pydoctor system. If the path points to a directory, adds all submodules recursively.
Method addModuleString Add a module from text to the system.
Method buildModules Build the modules.
Instance Variable system Undocumented
Instance Variable _added Undocumented
def __init__(self, system: System): (source)

Create the builder.

def addModule(self, path: Path, parent_name: str | None = None): (source)

Add a module or package from file system path to the pydoctor system. If the path points to a directory, adds all submodules recursively.

Raises
SystemBuildingErrorIf there is an error while adding the module/package.
def addModuleString(self, text: str, modname: str, parent_name: str | None = None, is_package: bool = False): (source)

Add a module from text to the system.

def buildModules(self): (source)

Build the modules.

Undocumented

Undocumented