diff --git a/mkdocs_macros.py b/mkdocs_macros.py index ea06211c..2a1bf9e4 100644 --- a/mkdocs_macros.py +++ b/mkdocs_macros.py @@ -43,7 +43,7 @@ def add_binder_block(page): filepath = f"{docs_dirs}/{page.file.src_path}" binder_link = f"{BINDER_URL}/{repo_name}/{BRANCH}" binder_link = f"{binder_link}?filepath={filepath}" - download_link = f"{repo_url}blob/{BRANCH}/{filepath}" + download_link = f"{repo_url}/blob/{BRANCH}/{filepath}" return BINDER_TEMPLATE.format( binder_link=binder_link, download_link=download_link )