diff --git a/doc/conf.py b/doc/conf.py index db4048a..f04cea7 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -9,7 +9,7 @@ from importlib import import_module from typing import Dict, Optional -from sphinx_gallery.sorting import FileNameSortKey +#from sphinx_gallery.sorting import FileNameSortKey import lapy @@ -46,7 +46,6 @@ "sphinxcontrib.bibtex", "sphinx_copybutton", "sphinx_design", - "sphinx_gallery.gen_gallery", "sphinx_issues", "nbsphinx", "IPython.sphinxext.ipython_console_highlighting", @@ -231,20 +230,20 @@ def linkcode_resolve(domain: str, info: Dict[str, str]) -> Optional[str]: # -- sphinx-gallery ---------------------------------------------------------- -sphinx_gallery_conf = { - "backreferences_dir": "generated/backreferences", - "doc_module": (f"{package}",), - "examples_dirs": ["../examples"], - "exclude_implicit_doc": {}, # set - "filename_pattern": r"\d{2}_", - "gallery_dirs": ["generated/examples"], - "line_numbers": False, - "plot_gallery": True, - "reference_url": {f"{package}": None}, - "remove_config_comments": True, - "show_memory": True, - "within_subsection_order": FileNameSortKey, -} +#sphinx_gallery_conf = { +# "backreferences_dir": "generated/backreferences", +# "doc_module": (f"{package}",), +# "examples_dirs": ["../examples"], +# "exclude_implicit_doc": {}, # set +# "filename_pattern": r"\d{2}_", +# "gallery_dirs": ["generated/examples"], +# "line_numbers": False, +# "plot_gallery": True, +# "reference_url": {f"{package}": None}, +# "remove_config_comments": True, +# "show_memory": True, +# "within_subsection_order": FileNameSortKey, +#} # -- make sure pandoc gets installed ----------------------------------------- from inspect import getsourcefile