mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 12: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"
|
index = "/index.md"
|
||||||
md = ".md"
|
md = ".md"
|
||||||
|
|
||||||
|
dump(filepath)
|
||||||
|
|
||||||
docid = ""
|
docid = ""
|
||||||
if filepath.startswith("website/_includes/"):
|
if filepath.startswith("website/_includes/"):
|
||||||
pass
|
pass
|
||||||
|
@ -131,6 +133,7 @@ class Help:
|
||||||
""" # noqa: E231
|
""" # noqa: E231
|
||||||
|
|
||||||
for node in nodes:
|
for node in nodes:
|
||||||
|
dump(node.metadata)
|
||||||
url = node.metadata.get("url", "")
|
url = node.metadata.get("url", "")
|
||||||
if url:
|
if url:
|
||||||
url = f' from_url="{url}"'
|
url = f' from_url="{url}"'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue