Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagi-Rastar committed Oct 26, 2024
1 parent 30cbf5f commit fb4555d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mymacros.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def generate_grid_cards(dir):
# 使用文件夹名和 "index.md" 生成 MkDocs 路径
doc_path = f"{folder_name}"
grid_cards.append(
f"- :material-clock-fast:{{ '.lg .middle' }} [__{title}__](/{doc_path})")
f"- :material-clock-fast:{{ '.lg .middle' }} [__{title}__](/sagi_database/{doc_path})")
return "\n".join(grid_cards)
except Exception as e:
return f"Error generating grid cards: {e}"
Expand Down

0 comments on commit fb4555d

Please sign in to comment.