mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-25 17:12:26 +02:00
docs: update api ref links to be smaller / italicized (#4514)
This commit is contained in:
@@ -277,7 +277,7 @@ def update_markdown_with_imports(markdown: str, path: str) -> str:
|
||||
f'<a href="{imp["docs"]}">{imp["imported"]}</a>' 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}<sup><i>API: {api_links}</i></sup>\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)
|
||||
|
||||
Reference in New Issue
Block a user