We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b8ea3 commit 46b377dCopy full SHA for 46b377d
hacktricks-preprocessor.py
@@ -77,6 +77,8 @@ def ref(matchobj):
77
logger.error(f'Error getting chapter title: {path.normpath(path.join(dir,href))}')
78
sys.exit(1)
79
80
+ if href.endswith("/README.md"):
81
+ href = href.replace("/README.md", "/index.html")
82
83
template = f"""<a class="content_ref" href="{href}"><span class="content_ref_label">{title}</span></a>"""
84
0 commit comments