Skip to content

Commit

Permalink
remove sphinx gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
m-reuter committed May 4, 2024
1 parent 96cb2cf commit 1393241
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -46,7 +46,6 @@
"sphinxcontrib.bibtex",
"sphinx_copybutton",
"sphinx_design",
"sphinx_gallery.gen_gallery",
"sphinx_issues",
"nbsphinx",
"IPython.sphinxext.ipython_console_highlighting",
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1393241

Please sign in to comment.