Skip to content

Commit

Permalink
fix broken notebook link in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenzse authored Nov 23, 2023
1 parent 03ff932 commit 0f1fadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit 0f1fadf

Please sign in to comment.