diff --git a/docs/docs/reference/gen_notebooks/example.md b/docs/docs/reference/gen_notebooks/example.md index 1030bbd86d6..b39bd808bfd 100644 --- a/docs/docs/reference/gen_notebooks/example.md +++ b/docs/docs/reference/gen_notebooks/example.md @@ -2,9 +2,9 @@ :::tip[This is a notebook] -
Open In Colab
Open in Colab
+
Open In Colab
Open in Colab
-
View in Github
View in Github
+
View in Github
View in Github
::: diff --git a/docs/docs/reference/gen_notebooks/intro_notebook.md b/docs/docs/reference/gen_notebooks/intro_notebook.md index d4f16bd4d36..18f1b48c698 100644 --- a/docs/docs/reference/gen_notebooks/intro_notebook.md +++ b/docs/docs/reference/gen_notebooks/intro_notebook.md @@ -5,9 +5,9 @@ title: Head Metadata :::tip[This is a notebook] -
Open In Colab
Open in Colab
+
Open In Colab
Open in Colab
-
View in Github
View in Github
+
View in Github
View in Github
::: diff --git a/docs/scripts/generate_notebooks.py b/docs/scripts/generate_notebooks.py index 1bef74e46b1..d98944b2e48 100644 --- a/docs/scripts/generate_notebooks.py +++ b/docs/scripts/generate_notebooks.py @@ -2,7 +2,7 @@ def make_header(notebook_path): - github_uri = "wandb/weave/blob/master" + github_uri = "wandb/weave/blob/master/docs" colab_root = f"https://colab.research.google.com/github/{github_uri}" colab_path = f"{colab_root}/{notebook_path}" github_path = f"https://github.com/{github_uri}/{notebook_path}"