diff --git a/docs/_scripts/generate_api_reference_links.py b/docs/_scripts/generate_api_reference_links.py index fb179ee45..29cac214f 100644 --- a/docs/_scripts/generate_api_reference_links.py +++ b/docs/_scripts/generate_api_reference_links.py @@ -277,7 +277,7 @@ def update_markdown_with_imports(markdown: str, path: str) -> str: f'{imp["imported"]}' for imp in imports ) # Return the code block with prepended API reference links - return f"{indent}API Reference: {api_links}\n\n{original_code_block}" + return f"{indent}API: {api_links}\n\n{original_code_block}" # Apply the replace_code_block function to all matches in the markdown updated_markdown = code_block_pattern.sub(replace_code_block, markdown)