diff --git a/book/external/Nested-Books b/book/external/Nested-Books index f063877..21c0a70 160000 --- a/book/external/Nested-Books +++ b/book/external/Nested-Books @@ -1 +1 @@ -Subproject commit f063877cc9efa7bd1d14eab0cba71f50e4aeb957 +Subproject commit 21c0a704f4b4a932e204991ddeb051f7487d9ac4 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", 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: