| 123 | |
| 124 | @dataclass(frozen=True) |
| 125 | class Doc: |
| 126 | text: str |
| 127 | doc: str |
| 128 | |
| 129 | def markdown(self) -> str: |
| 130 | return textwrap.dedent( |
| 131 | f""" |
| 132 | {self.text} |
| 133 | <details> |
| 134 | <summary>ⓘ</summary> |
| 135 | |
| 136 | {self.doc} |
| 137 | </details> |
| 138 | """ |
| 139 | ) |
| 140 | |
| 141 | |
| 142 | class Count(int): |
no outgoing calls
no test coverage detected