From 438fa201cd1d679d3dd76415985ced2267f31111 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 19 Sep 2023 18:47:39 +0200 Subject: [PATCH] Updated shortcodes hook --- material/.overrides/hooks/shortcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/material/.overrides/hooks/shortcodes.py b/material/.overrides/hooks/shortcodes.py index 2b9de4e40..574652042 100644 --- a/material/.overrides/hooks/shortcodes.py +++ b/material/.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})",