(app: Sphinx)
| 439 | |
| 440 | |
| 441 | def setup(app: Sphinx) -> ExtensionMetadata: |
| 442 | app.add_config_value("refcount_file", "", "env", types={str}) |
| 443 | app.add_config_value("stable_abi_file", "", "env", types={str}) |
| 444 | app.add_config_value("threadsafety_file", "", "env", types={str}) |
| 445 | app.add_directive("limited-api-list", LimitedAPIList) |
| 446 | app.add_directive("corresponding-type-slot", CorrespondingTypeSlot) |
| 447 | app.connect("builder-inited", init_annotations) |
| 448 | app.connect("doctree-read", add_annotations) |
| 449 | |
| 450 | return { |
| 451 | "version": "1.0", |
| 452 | "parallel_read_safe": True, |
| 453 | "parallel_write_safe": True, |
| 454 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…