From ee04c32bb31347f6e659ceeb4a0845a77a794ff0 Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Fri, 2 May 2025 12:50:21 -0400 Subject: [PATCH] docs: update api ref links to be smaller / italicized (#4514) --- docs/_scripts/generate_api_reference_links.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)