(lines: list[str], item: ApiItem, *, disambiguate: bool = False)
| 390 | |
| 391 | |
| 392 | def _write_item(lines: list[str], item: ApiItem, *, disambiguate: bool = False) -> None: |
| 393 | suffix = f" {KIND_LABELS[item.kind]}" if disambiguate else "" |
| 394 | lines.append(f"### `{item.name}`{suffix}\n\n") |
| 395 | _write_doc(lines, item.doc) |
| 396 | lines.append(f"```ts\n{item.declaration}\n```\n\n") |
| 397 | |
| 398 | |
| 399 | def _write_module(output_dir: Path, module: ModuleDoc, position: int) -> None: |
no test coverage detected