In Sphinx parallel builds, this merges audit_events from subprocesses.
(
app: Sphinx,
env: BuildEnvironment,
docnames: list[str],
other: BuildEnvironment,
)
| 95 | |
| 96 | |
| 97 | def audit_events_merge( |
| 98 | app: Sphinx, |
| 99 | env: BuildEnvironment, |
| 100 | docnames: list[str], |
| 101 | other: BuildEnvironment, |
| 102 | ) -> None: |
| 103 | """In Sphinx parallel builds, this merges audit_events from subprocesses.""" |
| 104 | for name, args, source in other.audit_events: |
| 105 | env.audit_events.add_event(name, args, source) |
| 106 | |
| 107 | |
| 108 | class AuditEvent(SphinxDirective): |
nothing calls this directly
no test coverage detected
searching dependent graphs…