From 3da2e233ceff118ccd90f25afede66b467e44939 Mon Sep 17 00:00:00 2001 From: Henry Webel Date: Wed, 24 Sep 2025 20:27:52 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20update=20config=20for=20note?= =?UTF-8?q?book=20execution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - anyways not needed in basic template which does not use any notebooks --- conf.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/conf.py b/conf.py index 5a2eae1..89fc5e4 100644 --- a/conf.py +++ b/conf.py @@ -46,11 +46,15 @@ myst_enable_extensions = ["dollarmath", "amsmath"] -# Plolty support through require javascript library +# Plotly: ensure plotly plots render on GitHub Pages +# import os +# os.environ["PLOTLY_RENDERER"] = "notebook" + # https://myst-nb.readthedocs.io/en/latest/render/interactive.html#plotly -html_js_files = [ - "https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js" -] +# Maybe still needed for older plotly versions +# html_js_files = [ +# # "https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js" +# ] # https://myst-nb.readthedocs.io/en/latest/configuration.html # Execution @@ -59,10 +63,9 @@ nb_merge_streams = True # https://myst-nb.readthedocs.io/en/latest/authoring/custom-formats.html#write-custom-formats -nb_custom_formats = { - ".py": ["jupytext.reads", {"fmt": "py:percent"}] -} - +# nb_custom_formats = { +# ".py": ["jupytext.reads", {"fmt": "py:percent"}] +# } # -- Options for HTML output ------------------------------------------------- From 8e976a430b6f0b0b8d78bdc721053f530c0bd122 Mon Sep 17 00:00:00 2001 From: Henry Webel Date: Wed, 24 Sep 2025 20:28:05 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=99=88=20hide=20MAC=20os=20specific?= =?UTF-8?q?=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index a4de6a0..64e7deb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ _build *.docx +.DS_Store