Skip to content

Commit f9952f7

Browse files
authored
fix broken notebook link in docs (#315)
1 parent 03ff932 commit f9952f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdocs_macros.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def add_binder_block(page):
4343
filepath = f"{docs_dirs}/{page.file.src_path}"
4444
binder_link = f"{BINDER_URL}/{repo_name}/{BRANCH}"
4545
binder_link = f"{binder_link}?filepath={filepath}"
46-
download_link = f"{repo_url}blob/{BRANCH}/{filepath}"
46+
download_link = f"{repo_url}/blob/{BRANCH}/{filepath}"
4747
return BINDER_TEMPLATE.format(
4848
binder_link=binder_link, download_link=download_link
4949
)

0 commit comments

Comments
 (0)