From 7e31e51c086ff7fcb5acc457ede786c8a07011ef Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Mon, 5 Aug 2024 10:33:57 +0200 Subject: [PATCH 01/10] Update _config.yml --- book/_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/_config.yml b/book/_config.yml index 23c06d3..9d1b3c8 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -1,5 +1,5 @@ title: Template -author: TeachBooks Team from Delft university of Technology, built with TeachBooks and Jupyter Book, CC BY 4.0 #Add your own name here +author: TeachBooks Team from Delft University of Technology, built with TeachBooks and Jupyter Book, CC BY 4.0 #Add your own name here logo: figures/TUDelft_logo_rgb.png #add your own logo here execute: From 4bcce999991d7ca8742e1abf8a3c90652a072261 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 7 Aug 2024 07:59:33 +0200 Subject: [PATCH 02/10] moved html settings --- book/_config.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index 9d1b3c8..811cc75 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -7,11 +7,6 @@ execute: only_build_toc_files: true -html: - favicon : "figures/favicon.ico" - baseurl : "https://teachbooks.github.io/template/" #Replace this with your own URL - home_page_in_navbar : true - sphinx: config: html_js_files: @@ -25,6 +20,8 @@ sphinx: use_issues_button : true launch_buttons: thebe: true + favicon : "figures/favicon.ico" + baseurl : "https://teachbooks.github.io/template/" #Replace this with your own URL html_show_copyright: false extra_extensions: - sphinx.ext.imgconverter From 9ebe3bb3d653a646cec6c33025a659a6b50d87fd Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 7 Aug 2024 08:03:17 +0200 Subject: [PATCH 03/10] fix order --- book/_config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index 811cc75..7e5c0c9 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -18,10 +18,10 @@ sphinx: repository_url: "https://github.com/TeachBooks/template" #add your own repo URL here use_repository_button: true use_issues_button : true - launch_buttons: - thebe: true favicon : "figures/favicon.ico" baseurl : "https://teachbooks.github.io/template/" #Replace this with your own URL + launch_buttons: + thebe: true html_show_copyright: false extra_extensions: - sphinx.ext.imgconverter From 4203d0f16dbcd3e1ba04755de6e0da79f8350106 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 7 Aug 2024 09:04:50 +0200 Subject: [PATCH 04/10] ctrl z --- book/_config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index 7e5c0c9..f76acde 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -7,6 +7,10 @@ execute: only_build_toc_files: true +html: + favicon : "figures/favicon.ico" + baseurl : "https://teachbooks.github.io/template/" #Replace this with your own URL + sphinx: config: html_js_files: @@ -18,8 +22,6 @@ sphinx: repository_url: "https://github.com/TeachBooks/template" #add your own repo URL here use_repository_button: true use_issues_button : true - favicon : "figures/favicon.ico" - baseurl : "https://teachbooks.github.io/template/" #Replace this with your own URL launch_buttons: thebe: true html_show_copyright: false From ed65d95acc0ad34801a213042c043bb6702a40e8 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Tue, 20 Aug 2024 16:11:41 +0200 Subject: [PATCH 05/10] Update _config.yml --- book/_config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/_config.yml b/book/_config.yml index f76acde..b959ce9 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -25,9 +25,11 @@ sphinx: launch_buttons: thebe: true html_show_copyright: false + html_last_updated_fmt: '%B %-d %Y' extra_extensions: - sphinx.ext.imgconverter - jupyterbook_patches + - sphinx.ext.extlinks bibtex_bibfiles: - references.bib From 7bf16566d7f0f55a8430f9a337b2aede17f3f66b Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Tue, 20 Aug 2024 16:12:03 +0200 Subject: [PATCH 06/10] Update requirements.txt --- requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index ebd2a79..c39b09c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,10 +6,10 @@ teachbooks # depends on jupyter-book docutils==0.17.1 # now list the packages (and the respective url) you wish to download from the GitLab package registry ---extra-index-url https://gitlab.tudelft.nl/api/v4/projects/17983/packages/pypi/simple #temporarily disable +--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/17983/packages/pypi/simple jupyterbook_patches ~= 0.1.4 #temporarily disable ---extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple #temporarily disable +--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple sphinx-thebe ~= 0.9.9 #temporarily disable # lastly any packages you wish to download directly from a Git repository -download_link_replacer @ git+https://gitlab.tudelft.nl/mude/sphinx-download-link-replacer #temporarily disable +download_link_replacer @ git+https://gitlab.tudelft.nl/mude/sphinx-download-link-replacer From 2ff245c43aba20550482e8c1a009165b1ea5f407 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Tue, 20 Aug 2024 16:12:27 +0200 Subject: [PATCH 07/10] Update _config.yml --- book/_config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/book/_config.yml b/book/_config.yml index b959ce9..9447089 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -29,6 +29,7 @@ sphinx: extra_extensions: - sphinx.ext.imgconverter - jupyterbook_patches + - download_link_replacer - sphinx.ext.extlinks bibtex_bibfiles: From d32745e82238fb4f8133a2cd092e21d3049a0955 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Tue, 20 Aug 2024 16:14:40 +0200 Subject: [PATCH 08/10] Update _config.yml --- book/_config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index 9447089..5c3e45a 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -1,6 +1,5 @@ title: Template -author: TeachBooks Team from Delft University of Technology, built with TeachBooks and Jupyter Book, CC BY 4.0 #Add your own name here -logo: figures/TUDelft_logo_rgb.png #add your own logo here +author: TeachBooks Team from Delft University of Technology, built with TeachBooks and Jupyter Book, CC BY 4.0 execute: execute_notebooks: "off" @@ -25,7 +24,7 @@ sphinx: launch_buttons: thebe: true html_show_copyright: false - html_last_updated_fmt: '%B %-d %Y' + html_last_updated_fmt: '%B %-d, %Y' extra_extensions: - sphinx.ext.imgconverter - jupyterbook_patches From 5fb452d1742b945034ce28b806d60e38bb2c0f5d Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Tue, 20 Aug 2024 16:18:32 +0200 Subject: [PATCH 09/10] Update _config.yml --- book/_config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/book/_config.yml b/book/_config.yml index 5c3e45a..702234a 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -1,5 +1,6 @@ title: Template -author: TeachBooks Team from Delft University of Technology, built with TeachBooks and Jupyter Book, CC BY 4.0 +author: TeachBooks Team from Delft University of Technology, built with TeachBooks and Jupyter Book, CC BY 4.0 #add your own name here +logo: figures/TUDelft_logo_rgb.png #add your own logo here execute: execute_notebooks: "off" From 6d9ff4212a942fed987b6937a039a709666bf886 Mon Sep 17 00:00:00 2001 From: DianaBanta <99201387+DianaBanta@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:05:59 +0200 Subject: [PATCH 10/10] Update requirements.txt change jupyterbook-patches to be imported from pypi --- requirements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index c39b09c..30a25f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,13 +1,12 @@ # first list the packages you wish to download from PyPI teachbooks # depends on jupyter-book +jupyterbook-patches # numpy # docutils version for reference page formatting docutils==0.17.1 # now list the packages (and the respective url) you wish to download from the GitLab package registry ---extra-index-url https://gitlab.tudelft.nl/api/v4/projects/17983/packages/pypi/simple -jupyterbook_patches ~= 0.1.4 #temporarily disable --extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple sphinx-thebe ~= 0.9.9 #temporarily disable