diff --git a/.gitmodules b/.gitmodules index 9b74655..64687ac 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [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/_toc.yml b/book/_toc.yml index 78b0275..803036e 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -60,10 +60,6 @@ parts: sections: - file: features/jupyterlite/configuration - file: features/jupyterlite/including-jupyterlite - - file: helper_code/intro.md - sections: - - file: external/latex-to-markdown-conversion/README.md - - caption: Examples chapters: @@ -75,4 +71,15 @@ parts: - file: examples/example_gumbel.ipynb - file: examples/example_quiz_interactive.ipynb - file: examples/coding_theory_widgets.ipynb - - file: examples/parametric_questions.ipynb \ No newline at end of file + - file: examples/parametric_questions.ipynb + + - caption: Editing tools + chapters: + - file: tools/figmaker + - file: helper_code/intro.md + sections: + - file: external/latex-to-markdown-conversion/README.md + - file: external/Useful_python_code/snippit.ipynb + - file: external/Useful_python_code/extensionfildownloadreturn.ipynb + - file: external/Useful_python_code/figshrinker.ipynb + \ No newline at end of file diff --git a/book/basic-features/figures.md b/book/basic-features/figures.md index 1c3f562..8fcf942 100644 --- a/book/basic-features/figures.md +++ b/book/basic-features/figures.md @@ -131,13 +131,3 @@ name: demoexample4 example 4:including figclass: margin ``` -## Figure syntax maker -One might quickely forget the code for making figures, here is a useful tool to make your figures, just specify all information and the code is produced for you: - -
There are multiple tools of providing feedback in the built book: a) using the issue button in the top-right corner to directly create issues visible to the editor team. b) Using the [hypothesis](https://jupyterbook.org/en/stable/interactive/comments/hypothesis.html)-extension which allows public/private highlighting and annotating parts of the book. An example can be seen on the [MUDE website](https://mude.citg.tudelft.nl/book/intro.html). c) Using the [Utterances](https://jupyterbook.org/en/stable/interactive/comments/utterances.html)-extension which allows commenting on pages for books which are hosted on GitHub visible for everyone. Those comments are converted to issues on GitHub for the editors to handle.
diff --git a/book/tools/figmaker.md b/book/tools/figmaker.md
new file mode 100644
index 0000000..534a57d
--- /dev/null
+++ b/book/tools/figmaker.md
@@ -0,0 +1,15 @@
+# Figure syntax maker
+
+```{admonition} User types
+:class: tip
+This section is useful for user type 3-5.
+```
+
+One might quickely forget the code for making figures, here is a useful tool to make your figures, just specify all information and the code is produced for you:
+
+