From 4d2689eb7ee1692eba0a46f67065f7331d8b7e31 Mon Sep 17 00:00:00 2001 From: dcherian Date: Wed, 11 May 2022 13:05:23 -0600 Subject: [PATCH 1/5] Don't execute hourly climatology notebook --- docs/source/user-stories/climatology-hourly.ipynb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/source/user-stories/climatology-hourly.ipynb b/docs/source/user-stories/climatology-hourly.ipynb index 91f2cce9c..cbcb9c32d 100644 --- a/docs/source/user-stories/climatology-hourly.ipynb +++ b/docs/source/user-stories/climatology-hourly.ipynb @@ -1701,8 +1701,7 @@ "id": "494766c2-305a-4518-b2b7-a85bcc7fd5b2", "metadata": {}, "source": [ - "View the performance report\n", - "[here](https://rawcdn.githack.com/dcherian/flox/592c46ba0bb859f732968b68426b6332caebc213/docs/source/user-stories/hourly-climatology.html)\n" + "View the performance report [here](https://rawcdn.githack.com/dcherian/flox/592c46ba0bb859f732968b68426b6332caebc213/docs/source/user-stories/hourly-climatology.html), and a video of the dask dashboard [here](https://drive.google.com/file/d/1uY36DiTbv1w7TefbrCEyBcOli5NiaNUP/view?usp=sharing)" ] } ], @@ -1724,6 +1723,9 @@ "pygments_lexer": "ipython3", "version": "3.9.12" }, + "mystnb": { + "execution_mode": "off" + }, "widgets": { "application/vnd.jupyter.widget-state+json": { "state": { From 315c0447ea00631f6f9ee02545f89e3cd0efdf42 Mon Sep 17 00:00:00 2001 From: dcherian Date: Wed, 11 May 2022 16:14:26 -0600 Subject: [PATCH 2/5] Try again to turn off execution --- docs/source/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 9c00d8c83..7e231eb05 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -57,10 +57,14 @@ current_year = datetime.datetime.now().year copyright = f"2021-{current_year}, Deepak Cherian" author = "Deepak Cherian" + +# Myst_nb options +nb_execution_excludepatterns = ["climatology-hourly"] + + # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. -# # The short X.Y version. version = flox.__version__.split("+")[0] # The full version, including alpha/beta/rc tags. From a7c0f6c1c9d852d2e38246b145568f2789548fba Mon Sep 17 00:00:00 2001 From: dcherian Date: Wed, 11 May 2022 16:14:54 -0600 Subject: [PATCH 3/5] break sphinx-build if execution error --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 7e231eb05..1ca8b1da5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -60,7 +60,7 @@ # Myst_nb options nb_execution_excludepatterns = ["climatology-hourly"] - +nb_execution_raise_on_error = True # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the From b5e4882e4b690584043d16401732acb0ad3b6de5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 11 May 2022 19:10:04 +0000 Subject: [PATCH 4/5] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/source/user-stories/climatology-hourly.ipynb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/user-stories/climatology-hourly.ipynb b/docs/source/user-stories/climatology-hourly.ipynb index cbcb9c32d..5fef37851 100644 --- a/docs/source/user-stories/climatology-hourly.ipynb +++ b/docs/source/user-stories/climatology-hourly.ipynb @@ -1701,7 +1701,10 @@ "id": "494766c2-305a-4518-b2b7-a85bcc7fd5b2", "metadata": {}, "source": [ - "View the performance report [here](https://rawcdn.githack.com/dcherian/flox/592c46ba0bb859f732968b68426b6332caebc213/docs/source/user-stories/hourly-climatology.html), and a video of the dask dashboard [here](https://drive.google.com/file/d/1uY36DiTbv1w7TefbrCEyBcOli5NiaNUP/view?usp=sharing)" + "View the performance report\n", + "[here](https://rawcdn.githack.com/dcherian/flox/592c46ba0bb859f732968b68426b6332caebc213/docs/source/user-stories/hourly-climatology.html),\n", + "and a video of the dask dashboard\n", + "[here](https://drive.google.com/file/d/1uY36DiTbv1w7TefbrCEyBcOli5NiaNUP/view?usp=sharing)\n" ] } ], From 6a722a52ebe3dd50fcd14fd369755e1118251160 Mon Sep 17 00:00:00 2001 From: dcherian Date: Fri, 1 Jul 2022 20:31:21 -0600 Subject: [PATCH 5/5] minor edit --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 1ca8b1da5..6fda3c575 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -59,7 +59,7 @@ author = "Deepak Cherian" # Myst_nb options -nb_execution_excludepatterns = ["climatology-hourly"] +nb_execution_excludepatterns = ["climatology-hourly.ipynb"] nb_execution_raise_on_error = True # The version info for the project you're documenting, acts as replacement for