From f8dd5fb16a23a2d921c0c05aaf5dbfcd462959d3 Mon Sep 17 00:00:00 2001 From: Xin Date: Sat, 14 Sep 2024 14:27:43 +0100 Subject: [PATCH] chore: rename example file --- exampleSite/assets/{notebook.ipynb => example.ipynb} | 0 exampleSite/content/docs/guide/shortcodes/jupyter.md | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) rename exampleSite/assets/{notebook.ipynb => example.ipynb} (100%) diff --git a/exampleSite/assets/notebook.ipynb b/exampleSite/assets/example.ipynb similarity index 100% rename from exampleSite/assets/notebook.ipynb rename to exampleSite/assets/example.ipynb diff --git a/exampleSite/content/docs/guide/shortcodes/jupyter.md b/exampleSite/content/docs/guide/shortcodes/jupyter.md index 8db1de9..83487d7 100644 --- a/exampleSite/content/docs/guide/shortcodes/jupyter.md +++ b/exampleSite/content/docs/guide/shortcodes/jupyter.md @@ -1,5 +1,6 @@ --- -title: "Jupyter Notebook" +title: "Jupyter Notebook Component" +linktitle: "Jupyter Notebook" math: true sidebar: exclude: true @@ -71,8 +72,8 @@ You can also use a remote notebook by providing the URL to the notebook file. Fo ## Example Notebook -The following is an example of a notebook file that is included in the project assets folder. +{{< callout type="info" >}}The following is an example of a notebook file that is included in the project assets folder.{{< /callout >}} -{{% jupyter "notebook.ipynb" %}} +{{% jupyter "example.ipynb" %}} [page-bundles]: https://gohugo.io/content-management/page-bundles/#leaf-bundles