From 9bced5ec04210c8938151caef8672f7a024e7355 Mon Sep 17 00:00:00 2001 From: douden <49307154+douden@users.noreply.github.com> Date: Thu, 20 Feb 2025 09:43:21 +0100 Subject: [PATCH] Added frames package --- .gitmodules | 4 ++++ book/_config.yml | 1 + book/_toc.yml | 1 + requirements.txt | 1 + 4 files changed, 7 insertions(+) diff --git a/.gitmodules b/.gitmodules index de694bb..ef7f64d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -50,3 +50,7 @@ path = book/external/Sphinx-Named-Colors url = https://github.com/TeachBooks/Sphinx-Named-Colors.git branch = manual +[submodule "book/external/Sphinx-Iframes"] + path = book/external/Sphinx-Iframes + url = https://github.com/TeachBooks/sphinx-iframes.git + branch = manual \ No newline at end of file diff --git a/book/_config.yml b/book/_config.yml index 3beb749..21a4bbc 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -21,6 +21,7 @@ sphinx: - sphinx_exercise - sphinx_proof - sphinx_named_colors + - sphinx-iframes config: html_js_files: - https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js diff --git a/book/_toc.yml b/book/_toc.yml index 86d7d0c..559ef8a 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -82,6 +82,7 @@ parts: - file: external/teachbooks-sphinx-tippy/README.md - file: features/apa - file: external/Sphinx-Named-Colors/README.md + - file: external/Sphinx-Iframes/README.md - file: features/students sections: - file: external/annotater/README.md diff --git a/requirements.txt b/requirements.txt index d975bba..e70eac1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,7 @@ sphinx-image-inverter == 1.1.0 sphinx-exercise == 1.0.1 sphinx-proof == 0.2.0 sphinx-named-colors == 1.0.1 +git+https://github.com/TeachBooks/sphinx-iframes.git --extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple sphinx-thebe ~= 0.9.9