(path: str, markdown: str, html: str)
| 185 | |
| 186 | |
| 187 | def _metrics(path: str, markdown: str, html: str) -> dict[str, Any]: |
| 188 | return { |
| 189 | "path": path, |
| 190 | "markdown": _line_metrics(markdown), |
| 191 | "filtered": _filtered_metrics(markdown), |
| 192 | "html": _html_metrics(html), |
| 193 | } |
| 194 | |
| 195 | |
| 196 | def _render_page(mandoc_path: str, manpage: Path) -> RenderedPage: |
no test coverage detected