MCPcopy Index your code
hub / github.com/fastapi/fastapi / remove_header_permalinks

Function remove_header_permalinks

scripts/docs.py:336–344  ·  view source on GitHub ↗
(content: str)

Source from the content-addressed store, hash-verified

334
335
336def 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
347def generate_readme_content() -> str:

Callers 1

generate_readme_contentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…