From 54a3e89d5fa0cf5880d368dbf687a787b9b6a38c Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 19 Sep 2023 18:43:58 +0200 Subject: [PATCH] Updated shortcodes hook --- src/.overrides/hooks/shortcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.overrides/hooks/shortcodes.py b/src/.overrides/hooks/shortcodes.py index 2b9de4e40..574652042 100644 --- a/src/.overrides/hooks/shortcodes.py +++ b/src/.overrides/hooks/shortcodes.py @@ -210,7 +210,7 @@ def _badge_for_example_view(text: str, page: Page, files: Files): # Create badge for example download def _badge_for_example_download(text: str, page: Page, files: Files): icon = "material-folder-download" - href = f"https://mkdocs-material.github.io/examples/download/{text}.zip" + href = f"https://mkdocs-material.github.io/examples/{text}.zip" return _badge( icon = f"[:{icon}:]({href} 'Download example')", text = f"[`.zip`]({href})",