From 8ce33ecfeee7e2b43b32b50028c77201ae4913d5 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 3 Dec 2025 11:57:21 +0100 Subject: [PATCH 1/8] test --- book/_config.yml | 1 + book/_toc.yml | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index 1cf67a0..409f9b0 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -52,6 +52,7 @@ sphinx: license: summaries: false individual: false + nb_execution_includepatterns: "**/MANUAL.ipynb" teachbooks: attribution_location: margin diff --git a/book/_toc.yml b/book/_toc.yml index 2e20a07..89a2d8c 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -88,7 +88,7 @@ parts: - file: features/exercise.md - external: https://github.com/TeachBooks/Sphinx-ref-graph/blob/manual/README.md - external: https://github.com/TeachBooks/Sphinx-GitHub-Alerts/blob/main/README.md - - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/main/MANUAL.md #BUMP + - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/main/MANUAL.ipynb #BUMP - file: features/visuals.md sections: - external: https://github.com/TeachBooks/Sphinx-Accessibility/blob/manual/README.md diff --git a/requirements.txt b/requirements.txt index aa145b5..6e18875 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ teachbooks == 0.2.3 sphinx-inline-tabs -git+https://github.com/TeachBooks/TeachBooks-Favourites +git+https://github.com/TeachBooks/TeachBooks-Favourites@test_metadata sphinx-metadata-figure == 1.0.3 From 91a861c307c4dae1cf07a0b6e7ef005d7082d3b7 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 3 Dec 2025 11:59:17 +0100 Subject: [PATCH 2/8] fix --- requirements.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 6e18875..503a102 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,6 @@ sphinx-inline-tabs git+https://github.com/TeachBooks/TeachBooks-Favourites@test_metadata -sphinx-metadata-figure == 1.0.3 - teachbooks-sphinx-grasple sphinx-apa-references From a2eb698b217b704782f82995b3ed236be7de119c Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 3 Dec 2025 12:03:07 +0100 Subject: [PATCH 3/8] Update _toc.yml --- book/_toc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/_toc.yml b/book/_toc.yml index 89a2d8c..52639e4 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -88,7 +88,7 @@ parts: - file: features/exercise.md - external: https://github.com/TeachBooks/Sphinx-ref-graph/blob/manual/README.md - external: https://github.com/TeachBooks/Sphinx-GitHub-Alerts/blob/main/README.md - - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/main/MANUAL.ipynb #BUMP + - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/test_document/MANUAL.ipynb #BUMP - file: features/visuals.md sections: - external: https://github.com/TeachBooks/Sphinx-Accessibility/blob/manual/README.md From 6b868f3d8e50acb1871764adc9dd96a242792d13 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 3 Dec 2025 12:14:00 +0100 Subject: [PATCH 4/8] Update _toc.yml --- book/_toc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/_toc.yml b/book/_toc.yml index 52639e4..9908d6e 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -88,7 +88,7 @@ parts: - file: features/exercise.md - external: https://github.com/TeachBooks/Sphinx-ref-graph/blob/manual/README.md - external: https://github.com/TeachBooks/Sphinx-GitHub-Alerts/blob/main/README.md - - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/test_document/MANUAL.ipynb #BUMP + - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/test_document/MANUAL.ipynb #BUMPBUMP - file: features/visuals.md sections: - external: https://github.com/TeachBooks/Sphinx-Accessibility/blob/manual/README.md From 9bdbb866dcaea397865853cc2bf6f568ce74841e Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 3 Dec 2025 12:19:19 +0100 Subject: [PATCH 5/8] Change execute_notebooks setting to 'auto' --- book/_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/_config.yml b/book/_config.yml index 409f9b0..2c6585c 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -2,7 +2,7 @@ title: TeachBooks Manual author: TeachBooks Development Team and TeachBooks users, built with TeachBooks, CC BY 4.0 execute: - execute_notebooks: 'off' + execute_notebooks: 'auto' only_build_toc_files: true From c83987b8bed05dcfce545766758d20dbc2888a9f Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 3 Dec 2025 12:30:49 +0100 Subject: [PATCH 6/8] Update requirements.txt --- requirements.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/requirements.txt b/requirements.txt index 503a102..e305dad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,3 +6,8 @@ git+https://github.com/TeachBooks/TeachBooks-Favourites@test_metadata teachbooks-sphinx-grasple sphinx-apa-references + +# For executing Jupyter Notebooks +myst_nb +numpy +matplotlib \ No newline at end of file From 0f48b937769bfe61eb62eb9f8bb252a4c057a447 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 3 Dec 2025 12:37:47 +0100 Subject: [PATCH 7/8] prepare for updates --- book/_toc.yml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/book/_toc.yml b/book/_toc.yml index 9908d6e..16a1454 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -88,7 +88,7 @@ parts: - file: features/exercise.md - external: https://github.com/TeachBooks/Sphinx-ref-graph/blob/manual/README.md - external: https://github.com/TeachBooks/Sphinx-GitHub-Alerts/blob/main/README.md - - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/test_document/MANUAL.ipynb #BUMPBUMP + - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/main/MANUAL.ipynb #BUMPBUMP - file: features/visuals.md sections: - external: https://github.com/TeachBooks/Sphinx-Accessibility/blob/manual/README.md diff --git a/requirements.txt b/requirements.txt index e305dad..21a0bb3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ teachbooks == 0.2.3 sphinx-inline-tabs -git+https://github.com/TeachBooks/TeachBooks-Favourites@test_metadata +git+https://github.com/TeachBooks/TeachBooks-Favourites teachbooks-sphinx-grasple From 73a40953580e6b48fa5bd134622c28d47978cc83 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 3 Dec 2025 12:38:47 +0100 Subject: [PATCH 8/8] Update _toc.yml --- book/_toc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/_toc.yml b/book/_toc.yml index 16a1454..a5ff363 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -88,7 +88,7 @@ parts: - file: features/exercise.md - external: https://github.com/TeachBooks/Sphinx-ref-graph/blob/manual/README.md - external: https://github.com/TeachBooks/Sphinx-GitHub-Alerts/blob/main/README.md - - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/main/MANUAL.ipynb #BUMPBUMP + - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/main/MANUAL.ipynb - file: features/visuals.md sections: - external: https://github.com/TeachBooks/Sphinx-Accessibility/blob/manual/README.md