File tree 1 file changed +6
-1
lines changed 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
import os
2
2
from sphinx .application import Sphinx
3
+
3
4
# -- Project information -----------------------------------------------------
4
5
project = "PyMC"
5
6
copyright = "2022, PyMC Community"
21
22
"sphinxcontrib.bibtex" ,
22
23
"sphinx_codeautolink" ,
23
24
"notfound.extension" ,
24
- ' sphinx_gallery.load_style' ,
25
+ " sphinx_gallery.load_style" ,
25
26
]
26
27
27
28
# List of patterns, relative to source directory, that match files and
37
38
"page_footer.md" ,
38
39
]
39
40
41
+
40
42
def hack_nbsphinx (app : Sphinx ) -> None :
41
43
from nbsphinx import (
42
44
depart_gallery_html ,
@@ -68,8 +70,11 @@ def do_nothing(*node):
68
70
# Monkey-patch Sphinx TocTree adapter
69
71
toctree .TocTree .resolve = patched_toctree_resolve
70
72
73
+
71
74
def setup (app : Sphinx ):
72
75
hack_nbsphinx (app )
76
+
77
+
73
78
# -- Options for HTML output -------------------------------------------------
74
79
75
80
# The theme to use for HTML and HTML Help pages. See the documentation for
You can’t perform that action at this time.
0 commit comments