From 0f1fadff58820a313646104486e2c7b37167d325 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 23 Nov 2023 15:56:49 +0100 Subject: [PATCH] fix broken notebook link in docs --- mkdocs_macros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )