Skip to content

Commit

Permalink
Reenable examples gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
dcamron committed Nov 2, 2024
1 parent 4680063 commit 528dfdb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
24 changes: 12 additions & 12 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
3 changes: 1 addition & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@

installguide
api/index
examples/index
developerguide
CONTRIBUTING
citing

.. examples/index
======
Siphon
======
Expand Down

0 comments on commit 528dfdb

Please sign in to comment.