From 3ad0a4d7be042ff6dd9f7968ca2ec04821e363ad Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Fri, 19 Mar 2021 16:18:46 -0400 Subject: [PATCH] [DOCS] Uncommented sphinx gallery --- docs/conf.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 37b90ffc4..606659a14 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -36,15 +36,15 @@ extensions = [] extensions += ['sphinx.ext.mathjax'] # Sphinx gallery -# extensions += ['sphinx_gallery.gen_gallery'] -# from sphinx_gallery.sorting import FileNameSortKey -# sphinx_gallery_conf = { -# 'examples_dirs': '../python/tutorials/', -# 'gallery_dirs': 'getting-started/tutorials', -# 'filename_pattern': '', -# 'ignore_pattern': r'__init__\.py', -# 'within_subsection_order': FileNameSortKey, -# } +extensions += ['sphinx_gallery.gen_gallery'] +from sphinx_gallery.sorting import FileNameSortKey +sphinx_gallery_conf = { + 'examples_dirs': '../python/tutorials/', + 'gallery_dirs': 'getting-started/tutorials', + 'filename_pattern': '', + 'ignore_pattern': r'__init__\.py', + 'within_subsection_order': FileNameSortKey, +} # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']