Skip to content

Commit a2b264b

Browse files
committed
it doesnt like branches
1 parent 5767589 commit a2b264b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

book/_static/custom_launch_button.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ window.addEventListener("DOMContentLoaded", () => {
4747

4848
if (baseUrl.startsWith("https://")) {
4949
const repo = encodeURIComponent("https://github.com/eWaterCycle/getting-started");
50-
const branch = "development";
51-
const notebookPath = "getting-started/book/content/first_model_run/first_run.ipynb"; // Change to your desired notebook
50+
const branch = "main";
51+
// const notebookPath = "getting-started/book/content/first_model_run/first_run.ipynb"; // Change to your desired notebook
52+
const notebookPath = "getting-started/book/some_content/first_model_run/first_run.ipynb"; // Change to your desired notebook
5253

5354
const nbgitpullerUrl = `${baseUrl}/hub/user-redirect/git-pull?repo=${repo}&branch=${branch}&urlpath=lab/tree/${notebookPath}`;
5455
window.open(nbgitpullerUrl, "_blank");

0 commit comments

Comments
 (0)