From 953dc6ba44f73c1f58fb919ff61e4ed6205de0c7 Mon Sep 17 00:00:00 2001 From: Kevin Dougherty Date: Tue, 9 Jul 2024 17:11:26 +0000 Subject: [PATCH] update order and remove examples --- docs/conf.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 10ad5d9..5174955 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,7 +17,7 @@ sys.path.insert(0, str(Path(__file__).parent.resolve())) import matplotlib -# from sphinx_gallery +from sphinx_gallery.sorting import ExplicitOrder import emcpy @@ -58,6 +58,18 @@ gd = gd.replace('gallery', 'examples') example_dirs += [f'../galleries/{gd}'] +# Sphinx gallery configuration +subsection_order = ExplicitOrder([ + '../plot_types/basic', + '../plot_types/statistical', + '../plot_types/gridded', + '../plot_types/map', + '../examples/line_plots', + '../examples/scatter_plots', + '../examples/histograms', + '../examples/map_plots' +]) + sphinx_gallery_conf = { 'capture_repr': (), 'filename_pattern': '^((?!skip_).)*$',