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 416e737 commit d24561aCopy full SHA for d24561a
docs/mdbook-summary
@@ -66,7 +66,7 @@ def _preprocess_content(text: str, links: dict[str, str], depth: int) -> str:
66
title += f' → {anchor}'
67
anchor = f'#{anchor}'
68
69
- url = f'[{title}]({full_path}{anchor})'.replace('README.md', 'index.md')
+ url = f'[{title}]({full_path}{anchor})'.replace('README.md', 'index.md').replace('README.html', 'index.html')
70
text = re.sub(SUMMARY_REGEX, url, text, count=1)
71
72
return text
0 commit comments