From 528dfdba6ac21e40938aec717e3c1653334c3f72 Mon Sep 17 00:00:00 2001 From: Drew Camron Date: Fri, 1 Nov 2024 17:57:05 -0600 Subject: [PATCH] Reenable examples gallery --- docs/conf.py | 24 ++++++++++++------------ docs/index.rst | 3 +-- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9fb44a737..458fa871e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -40,18 +40,18 @@ 'myst_parser' ] -# sphinx_gallery_conf = { -# 'doc_module': ('siphon',), -# 'reference_url': { -# 'siphon': None, -# }, -# 'examples_dirs': [os.path.join('..', 'examples')], -# 'gallery_dirs': ['examples'], -# 'filename_pattern': '\.py', -# 'backreferences_dir': 'api/generated', -# 'default_thumb_file': os.path.join('_static', 'siphon_150x150_white_bg.png'), -# 'abort_on_example_error': True -# } +sphinx_gallery_conf = { + 'doc_module': ('siphon',), + 'reference_url': { + 'siphon': None, + }, + 'examples_dirs': [os.path.join('..', 'examples')], + 'gallery_dirs': ['examples'], + 'filename_pattern': '\.py', + 'backreferences_dir': 'api/generated', + 'default_thumb_file': os.path.join('_static', 'siphon_150x150_white_bg.png'), + 'abort_on_example_error': True +} # Set up mapping for other projects' docs intersphinx_mapping = { diff --git a/docs/index.rst b/docs/index.rst index b6d845c3f..2f1203d28 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -4,12 +4,11 @@ installguide api/index + examples/index developerguide CONTRIBUTING citing -.. examples/index - ====== Siphon ======