Initialise the audit_events attribute on the environment.
(app: Sphinx)
| 79 | |
| 80 | |
| 81 | def initialise_audit_events(app: Sphinx) -> None: |
| 82 | """Initialise the audit_events attribute on the environment.""" |
| 83 | if not hasattr(app.env, "audit_events"): |
| 84 | app.env.audit_events = AuditEvents() |
| 85 | |
| 86 | |
| 87 | def audit_events_purge( |
nothing calls this directly
no test coverage detected
searching dependent graphs…