(content: str)
| 334 | |
| 335 | |
| 336 | def remove_header_permalinks(content: str): |
| 337 | lines: list[str] = [] |
| 338 | for line in content.split("\n"): |
| 339 | match = header_with_permalink_pattern.match(line) |
| 340 | if match: |
| 341 | hashes, title, *_ = match.groups() |
| 342 | line = f"{hashes} {title}" |
| 343 | lines.append(line) |
| 344 | return "\n".join(lines) |
| 345 | |
| 346 | |
| 347 | def generate_readme_content() -> str: |
no outgoing calls
no test coverage detected
searching dependent graphs…