mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 10:45:00 +00:00
chore: Add debug logging for filepath and node metadata
This commit is contained in:
parent
d1e35bcdd1
commit
949b7ece36
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,8 @@ def fname_to_url(filepath):
|
|||
index = "/index.md"
|
||||
md = ".md"
|
||||
|
||||
dump(filepath)
|
||||
|
||||
docid = ""
|
||||
if filepath.startswith("website/_includes/"):
|
||||
pass
|
||||
|
@ -131,6 +133,7 @@ class Help:
|
|||
""" # noqa: E231
|
||||
|
||||
for node in nodes:
|
||||
dump(node.metadata)
|
||||
url = node.metadata.get("url", "")
|
||||
if url:
|
||||
url = f' from_url="{url}"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue