cpdocs API documentation
Project documentation Docs

build_python_graph Python

Defined in extract.py

def cpdocs.languages.python.extract.build_python_graph(*, project_root: pathlib.Path, package_root: pathlib.Path, package: str, version: str = 'main', include_private: bool = False, python_version: tuple[int, int] | None = None) -> cpdocs.model.ApiGraph

Build a static Python API graph without importing the documented package.

Available in feature sets