From 0c6293093e9ceb6ee8624f4706f2cc909cec0d71 Mon Sep 17 00:00:00 2001 From: Elijas <4084885+Elijas@users.noreply.github.com> Date: Fri, 13 Oct 2023 05:03:27 +0300 Subject: [PATCH] docs: add Open in Binder badge to notebooks --- .../comprehensive_developer_guide.ipynb | 34 +++++++++++++++++-- .../notebooks/quickstart_user_guide.ipynb | 34 +++++++++++++++++-- 2 files changed, 62 insertions(+), 6 deletions(-) diff --git a/docs/source/notebooks/comprehensive_developer_guide.ipynb b/docs/source/notebooks/comprehensive_developer_guide.ipynb index e6b09ba..2b93124 100644 --- a/docs/source/notebooks/comprehensive_developer_guide.ipynb +++ b/docs/source/notebooks/comprehensive_developer_guide.ipynb @@ -2,11 +2,38 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "metadata": { "nbsphinx": "hidden" }, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "\n", + " \n", + " " + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Note: this cell is hidden from the HTML output. Read more: https://nbsphinx.readthedocs.io/en/0.2.1/hidden-cells.html\n", "import jupyter_black\n", @@ -34,6 +61,7 @@ "Alternatively, you can also run the notebook directly in your browser using Google Colab:\n", "\n", "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/alphanome-ai/sec-ai/blob/main/docs/source/notebooks/comprehensive_developer_guide.ipynb)\n", + "[![My Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/alphanome-ai/sec-ai/main?filepath=docs/source/notebooks/comprehensive_developer_guide.ipynb)\n", "\n", "Let's dive in!" ] @@ -61,4 +89,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +} diff --git a/docs/source/notebooks/quickstart_user_guide.ipynb b/docs/source/notebooks/quickstart_user_guide.ipynb index d391958..464629c 100644 --- a/docs/source/notebooks/quickstart_user_guide.ipynb +++ b/docs/source/notebooks/quickstart_user_guide.ipynb @@ -2,11 +2,38 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "metadata": { "nbsphinx": "hidden" }, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "\n", + " \n", + " " + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Note: this cell is hidden from the HTML output. Read more: https://nbsphinx.readthedocs.io/en/0.2.1/hidden-cells.html\n", "import jupyter_black\n", @@ -34,6 +61,7 @@ "Alternatively, you can also run the notebook directly in your browser using Google Colab:\n", "\n", "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/alphanome-ai/sec-ai/blob/main/docs/source/notebooks/quickstart_user_guide.ipynb)\n", + "[![My Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/alphanome-ai/sec-ai/main?filepath=docs/source/notebooks/quickstart_user_guide.ipynb)\n", "\n", "Let's get started!" ] @@ -61,4 +89,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}