From ff3b18ffd698af1d5d1de4ee175b3d5942ef37c2 Mon Sep 17 00:00:00 2001 From: Florence Haudin Date: Wed, 19 Mar 2025 16:22:09 +0100 Subject: [PATCH] Add in deploy.yml a notebook in the jupyter lite build command. Remove unused notebooks. --- .github/workflows/deploy.yml | 2 +- Untitled.ipynb | 33 ---------------- examples/Untitled.ipynb | 39 ------------------- examples/example.ipynb | 74 ------------------------------------ 4 files changed, 1 insertion(+), 147 deletions(-) delete mode 100644 Untitled.ipynb delete mode 100644 examples/Untitled.ipynb delete mode 100644 examples/example.ipynb diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9dfca58..092d995 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,7 +30,7 @@ jobs: - name: Build the JupyterLite site shell: bash -l {0} run: | - jupyter lite build --output-dir dist + jupyter lite build --output-dir dist --contents examples/introduction.ipynb - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/Untitled.ipynb b/Untitled.ipynb deleted file mode 100644 index 5176503..0000000 --- a/Untitled.ipynb +++ /dev/null @@ -1,33 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": null, - "id": "e88ac449-ef30-43e4-ae0f-a0cf37ac6f3d", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.13.1" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/examples/Untitled.ipynb b/examples/Untitled.ipynb deleted file mode 100644 index 3840a75..0000000 --- a/examples/Untitled.ipynb +++ /dev/null @@ -1,39 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "76c89d41-9bde-4354-9c60-89e7d5356a4d", - "metadata": {}, - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "55bfc31c-c909-466d-81b4-a5f4378c4b70", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.13.1" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/examples/example.ipynb b/examples/example.ipynb deleted file mode 100644 index 9444487..0000000 --- a/examples/example.ipynb +++ /dev/null @@ -1,74 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Introduction" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "import bluetooth_manager" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "w = bluetooth_manager.MoveHubWidget()\n", - "w" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "assert w.value == 'Hello World'" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.13.1" - } - }, - "nbformat": 4, - "nbformat_minor": 4 -}