From d240107f49fbce3cf8d57a8fc66fdc19375dd199 Mon Sep 17 00:00:00 2001 From: Morgan Williams Date: Tue, 14 Nov 2023 12:43:09 +0800 Subject: [PATCH] Bugfix - gallery index structure --- docs/source/conf.py | 1 + environment.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 4e8a4feb..1d1f055e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -288,6 +288,7 @@ def reset_mpl(gallery_conf, fname): # "jupyterlite": {"use_jupyter_lab": True}, "first_notebook_cell": "%matplotlib inline\n", "reset_modules": (reset_mpl), + "nested_sections": False } # Remove matplotlib agg warnings from generated doc when using plt.show warnings.filterwarnings( diff --git a/environment.yml b/environment.yml index 6b380fc0..3714637f 100644 --- a/environment.yml +++ b/environment.yml @@ -45,7 +45,7 @@ dependencies: - twine - pip: - sphinx-autodoc-annotation - - sphinx_gallery>=0.6.0 + - sphinx-gallery>=0.6.0 - -e . # install the local pyrolite package # conda env create -f environment.yml