From c33f7233b54ccce797a903f8f495d8dbb30f0b2a Mon Sep 17 00:00:00 2001 From: zm711 <92116279+zm711@users.noreply.github.com> Date: Fri, 22 Sep 2023 10:21:53 -0400 Subject: [PATCH 1/3] test reorganize folders --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 15cb65d46a..b120393911 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -118,11 +118,11 @@ 'examples_dirs': ['../examples/modules_gallery'], 'gallery_dirs': ['modules_gallery', ], # path where to save gallery generated examples 'subsection_order': ExplicitOrder([ - '../examples/modules_gallery/core/', '../examples/modules_gallery/extractors/', '../examples/modules_gallery/qualitymetrics', '../examples/modules_gallery/comparison', '../examples/modules_gallery/widgets', + '../examples/modules_gallery/core/', ]), 'within_subsection_order': FileNameSortKey, 'ignore_pattern': '/generate_', From 96be72e5ac05ec7f3bd63f866783b733fca22ab8 Mon Sep 17 00:00:00 2001 From: zm711 <92116279+zm711@users.noreply.github.com> Date: Fri, 22 Sep 2023 10:43:48 -0400 Subject: [PATCH 2/3] try removing extra slash from some sections --- doc/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index b120393911..eb8bee5f9a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -118,11 +118,11 @@ 'examples_dirs': ['../examples/modules_gallery'], 'gallery_dirs': ['modules_gallery', ], # path where to save gallery generated examples 'subsection_order': ExplicitOrder([ - '../examples/modules_gallery/extractors/', + '../examples/modules_gallery/core', + '../examples/modules_gallery/extractors', '../examples/modules_gallery/qualitymetrics', '../examples/modules_gallery/comparison', '../examples/modules_gallery/widgets', - '../examples/modules_gallery/core/', ]), 'within_subsection_order': FileNameSortKey, 'ignore_pattern': '/generate_', From c4fec2f135f5166bc3dfe4ebbd1a3ccdff8ddd63 Mon Sep 17 00:00:00 2001 From: zm711 <92116279+zm711@users.noreply.github.com> Date: Fri, 22 Sep 2023 11:00:17 -0400 Subject: [PATCH 3/3] try setting nested_sections false --- doc/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/conf.py b/doc/conf.py index eb8bee5f9a..13d1ef4e65 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -126,6 +126,7 @@ ]), 'within_subsection_order': FileNameSortKey, 'ignore_pattern': '/generate_', + 'nested_sections': False, } intersphinx_mapping = {