mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 06:45:52 +00:00
Update URL
Co-Authored-By: Diana-Maria Banță <99201387+DianaBanta@users.noreply.github.com>
This commit is contained in:
parent
038a2c8050
commit
921724f015
1 changed files with 3 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue