chore: Add debug logging for filepath and node metadata

This commit is contained in:
Paul Gauthier 2024-10-21 14:23:05 -07:00 committed by Paul Gauthier (aider)
parent d1e35bcdd1
commit 949b7ece36

View file

@ -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}"'