From 0c5236717fb8f745561d30314f8e93295e148f46 Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Thu, 30 Apr 2026 09:09:43 -0400 Subject: [PATCH 1/4] added announcement --- book/_config.yml | 6 ++++-- book/_static/style.css | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 book/_static/style.css diff --git a/book/_config.yml b/book/_config.yml index 106c7c3..f69f635 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -29,19 +29,21 @@ html: use_repository_button: true use_edit_page_button: true logo: true + announcement: ' 📢 Register now for the FESTIM 2.0 webinar on 15th May, 9:00 am EST' analytics: google_analytics_id: G-B9MJGSTP5V execute: # Force re-execution of notebooks on each build. # See https://jupyterbook.org/content/execute.html - execute_notebooks: force + execute_notebooks: off + # execute_notebooks: force timeout: -1 # Disable timeouts for executing notebooks cells # allow_errors: true # Allow errors in notebook cells sphinx: config: - html_static_path: ["images"] + html_static_path: ["images", "_static"] html_last_updated_fmt: "%b %d, %Y" suppress_warnings: - "mystnb.unknown_mime_type" diff --git a/book/_static/style.css b/book/_static/style.css new file mode 100644 index 0000000..b1410e1 --- /dev/null +++ b/book/_static/style.css @@ -0,0 +1,3 @@ +html[data-theme="light"] .bd-header-announcement a { + color: #ade0e9 +} \ No newline at end of file From 79c9f805238fb4184c0d5e983100fc6d4f97d12f Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Thu, 30 Apr 2026 09:15:15 -0400 Subject: [PATCH 2/4] execute force + nb_execution_show_tb --- book/_config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index f69f635..f8ce74c 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -35,9 +35,8 @@ html: execute: # Force re-execution of notebooks on each build. - # See https://jupyterbook.org/content/execute.html - execute_notebooks: off - # execute_notebooks: force + # See https://jupyter-book.readthedocs.io/v1/content/execute.html + execute_notebooks: force timeout: -1 # Disable timeouts for executing notebooks cells # allow_errors: true # Allow errors in notebook cells @@ -68,6 +67,7 @@ sphinx: matplotlib: ["https://matplotlib.org/stable/", null] festim: ["https://festim.readthedocs.io/en/stable/", null] html_favicon: "images/festim logo symbol.png" + nb_execution_show_tb: True extra_extensions: - "sphinx.ext.autodoc" From dc54b29f705a29ebbdb0695b66cdaf03e3178691 Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Thu, 30 Apr 2026 09:17:43 -0400 Subject: [PATCH 3/4] fixed intersphinx mapping --- book/_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/_config.yml b/book/_config.yml index f8ce74c..f35a075 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -65,7 +65,7 @@ sphinx: pyvista: ["https://docs.pyvista.org/", null] packaging: ["https://packaging.pypa.io/en/stable/", null] matplotlib: ["https://matplotlib.org/stable/", null] - festim: ["https://festim.readthedocs.io/en/stable/", null] + festim: ["https://festim.readthedocs.io/en/latest/", null] html_favicon: "images/festim logo symbol.png" nb_execution_show_tb: True From b43e0c21991d8e63e8b937f887c00aca65d7c0da Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Thu, 30 Apr 2026 09:59:51 -0400 Subject: [PATCH 4/4] try adding stub conf.py --- .readthedocs.yml | 2 +- book/conf.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 book/conf.py diff --git a/.readthedocs.yml b/.readthedocs.yml index 1b0f323..b763743 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -20,4 +20,4 @@ conda: sphinx: builder: html fail_on_warning: true - configuration: book/_config.yml \ No newline at end of file + configuration: book/conf.py \ No newline at end of file diff --git a/book/conf.py b/book/conf.py new file mode 100644 index 0000000..34ec76d --- /dev/null +++ b/book/conf.py @@ -0,0 +1 @@ +# Dummy conf.py to satisfy ReadTheDocs validation before pre_build step