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.
README
index
1 parent b6c501c commit 6f64290Copy full SHA for 6f64290
mkdocs_redirects/plugin.py
@@ -74,7 +74,7 @@ def get_html_path(path, use_directory_urls):
74
name_orig = posixpath.splitext(filename)[0]
75
76
# Both `index.md` and `README.md` files are normalized to `index.html` during build
77
- name = 'index' if name_orig.lower() in ('index', 'readme') else name_orig
+ name = 'index' if name_orig in ('index', 'README') else name_orig
78
79
# Directory URLs require some different logic. This mirrors mkdocs' internal logic.
80
if use_directory_urls:
0 commit comments