From 921724f015311a808975910d446d1a2bb3e25924 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Tue, 25 Feb 2025 11:06:11 +0100 Subject: [PATCH 1/4] Update URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Diana-Maria Banță <99201387+DianaBanta@users.noreply.github.com> --- book/features/live_code.ipynb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/book/features/live_code.ipynb b/book/features/live_code.ipynb index 14bb5c2..3971cac 100644 --- a/book/features/live_code.ipynb +++ b/book/features/live_code.ipynb @@ -55,13 +55,12 @@ "## Setting up Python live coding\n", "To set up the Python live coding you need to add our [own sphinx-thebe extension](https://github.com/TeachBooks/Sphinx-Thebe) to your book. This extensions doesn't rely on a 3rd party like Binder and it supports local python execution and custom features. Therefore, you need to add some lines to `requirements.txt` and `_config.yml`\n", "\n", - "For `requirements.txt` add the following lines:\n", + "For `requirements.txt` add the following line:\n", "```\n", - "--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple\n", - "sphinx-thebe ~= 0.9.9\n", + "git+https://github.com/TeachBooks/Sphinx-Thebe\n", "```\n", "\n", - "This will download the correct version of the sphinx extension when the book is built on the server (which loads the required packages from `requirements.txt`)\n", + "This will download the correct version of the sphinx extension when the book is built (which loads the required packages from `requirements.txt`)\n", "\n", "If you want to build the book locally, you need to install this version of sphinx-thebe in your environment as well with:\n", "```\n", From 2f3074d777a825c2c4452bdf306abc000f64968d Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Tue, 25 Feb 2025 16:26:57 +0100 Subject: [PATCH 2/4] Update update_env.md --- book/features/update_env.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/book/features/update_env.md b/book/features/update_env.md index ad4096b..442512a 100644 --- a/book/features/update_env.md +++ b/book/features/update_env.md @@ -1,5 +1,10 @@ # Auto-updating packages +```{admonition} User types +:class: tip +This page is useful for user type 4-5. +``` + {bdg-dark}`Git Workflow` When building your book, your making use of packages: the teachbooks and jupyterbook packages themselves, but also packages for extensions. These are regularly updated, while those updates are not necessarily taken into your book. This is all defined in the `requirements.txt` file, which is provided as part of the [template](../external/template/README.md). There are three options: From 4bd3a2a32b9fa46a7462a888a5ae472a7fba200d Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Tue, 25 Feb 2025 16:36:52 +0100 Subject: [PATCH 3/4] Update Nested-Books --- book/external/Nested-Books | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/external/Nested-Books b/book/external/Nested-Books index f063877..94d5835 160000 --- a/book/external/Nested-Books +++ b/book/external/Nested-Books @@ -1 +1 @@ -Subproject commit f063877cc9efa7bd1d14eab0cba71f50e4aeb957 +Subproject commit 94d583570178ede097f8216b2aa06996d6e4b9ee From fe04a2fb32210f0cb7f823b0d632cacfecd5b917 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Feb 2025 16:22:01 +0000 Subject: [PATCH 4/4] Bump book/external/Nested-Books from `94d5835` to `21c0a70` Bumps [book/external/Nested-Books](https://github.com/TeachBooks/Nested-Books) from `94d5835` to `21c0a70`. - [Commits](https://github.com/TeachBooks/Nested-Books/compare/94d583570178ede097f8216b2aa06996d6e4b9ee...21c0a704f4b4a932e204991ddeb051f7487d9ac4) --- updated-dependencies: - dependency-name: book/external/Nested-Books dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- book/external/Nested-Books | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/external/Nested-Books b/book/external/Nested-Books index 94d5835..21c0a70 160000 --- a/book/external/Nested-Books +++ b/book/external/Nested-Books @@ -1 +1 @@ -Subproject commit 94d583570178ede097f8216b2aa06996d6e4b9ee +Subproject commit 21c0a704f4b4a932e204991ddeb051f7487d9ac4