From fcce5c5ed829fcd5845311c504216ebe51d44b0c Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Mon, 16 Dec 2024 10:27:33 +0100 Subject: [PATCH] Revert "Merge pull request #49 from TeachBooks/temp_delete" This reverts commit 58ed2efd418cea04d1eb8459935e990adb017843, reversing changes made to ff0b11e795e26d322e172c15635b1a144e66118a. --- .gitmodules | 3 +++ book/_config.yml | 10 +++++----- book/external/latex-to-markdown-conversion | 1 + requirements.txt | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) create mode 160000 book/external/latex-to-markdown-conversion diff --git a/.gitmodules b/.gitmodules index f76fc05..fc993b6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,6 +7,9 @@ [submodule "book/external/deploy-book-workflow"] path = book/external/deploy-book-workflow url = https://github.com/TeachBooks/deploy-book-workflow.git +[submodule "book/external/latex-to-markdown-conversion"] + path = book/external/latex-to-markdown-conversion + url = https://gitlab.tudelft.nl/opentextbooks/latex-to-markdown-conversion.git [submodule "book/external/Useful_python_code"] path = book/external/Useful_python_code url = https://github.com/TeachBooks/Useful_python_code.git diff --git a/book/_config.yml b/book/_config.yml index 6791ac7..8c6fa4e 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -20,11 +20,11 @@ sphinx: - sphinx_image_inverter - sphinx_exercise config: - #html_js_files: - #- https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js - #thebe_config: - # use_thebe_lite: true - # exclude_patterns: ["**/_*.yml", "**/*.md", "**/*.ipynb","**/*.gif","**/*.txt","**/*.json",] + html_js_files: + - https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js + thebe_config: + use_thebe_lite: true + exclude_patterns: ["**/_*.yml", "**/*.md", "**/*.ipynb","**/*.gif","**/*.txt","**/*.json",] html_theme_options: logo: text: Manual diff --git a/book/external/latex-to-markdown-conversion b/book/external/latex-to-markdown-conversion new file mode 160000 index 0000000..cb81691 --- /dev/null +++ b/book/external/latex-to-markdown-conversion @@ -0,0 +1 @@ +Subproject commit cb8169156e5c0150848cf52fb177d0d40934522e diff --git a/requirements.txt b/requirements.txt index c53a2d5..ff54450 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,8 +8,8 @@ teachbooks-sphinx-grasple sphinx-image-inverter -#--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple -#sphinx-thebe ~= 0.9.9 +--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple +sphinx-thebe ~= 0.9.9 docutils==0.17.1 sphinx-exercise \ No newline at end of file