[DOCS] re-activated tutorials

This commit is contained in:
Philippe Tillet
2022-02-08 11:42:39 -08:00
parent 822ddcd14b
commit 077d6c8ff0

View File

@@ -78,18 +78,18 @@ smv_outputdir_format = '{ref.name}'
smv_prefer_remote_refs = False
# 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,
# 'reference_url': {
# 'sphinx_gallery': None,
# }
# }
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,
'reference_url': {
'sphinx_gallery': None,
}
}
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']