mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-05 16:44:22 +00:00
Fix image paths for MkDocs rendering in readme_sync.py
This commit is contained in:
@@ -42,6 +42,9 @@ def on_page_markdown(markdown, page, config, **kwargs):
|
||||
markdown = markdown.replace('{{HEADLINE}}', headline)
|
||||
markdown = markdown.replace('{{FEATURES}}', features_with_breaks)
|
||||
|
||||
# Fix image paths: convert docs/images/ to images/ for MkDocs
|
||||
markdown = re.sub(r'docs/images/', 'images/', markdown)
|
||||
|
||||
return markdown
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user