1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
Description: adjusted mathjax path local and disabled jupyterlite_sphinx(not in Debian)
Author: Josenilson Ferreira da silva <nilsonfsilva@hotmail.com>
Forwarded: not-needed
Last-Update: 2024-05-05
Index: sphinx-gallery/doc/conf.py
===================================================================
--- sphinx-gallery.orig/doc/conf.py
+++ sphinx-gallery/doc/conf.py
@@ -44,9 +44,10 @@ extensions = [
"sphinx.ext.mathjax",
"sphinx_gallery.gen_gallery",
"sphinx.ext.graphviz",
- "jupyterlite_sphinx",
]
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
@@ -147,7 +148,7 @@ html_theme_options = {
"navbar_center": ["navbar-nav"],
"show_toc_level": 2,
"show_nav_level": 2,
- "navbar_end": ["theme-switcher", "version-switcher", "navbar-icon-links"],
+ "navbar_end": ["navbar-icon-links"],
"navigation_with_keys": False,
"logo": {
"text": "🖼️ Sphinx-Gallery",
Index: sphinx-gallery/doc/reference.rst
===================================================================
--- sphinx-gallery.orig/doc/reference.rst
+++ sphinx-gallery/doc/reference.rst
@@ -33,7 +33,6 @@ Sphinx-Gallery API Reference
notebook
downloads
sorting
- interactive_example
directives
.. currentmodule:: sphinx_gallery.utils
|