File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ def wrapper(*args, **kwargs):
96
96
except ImportError :
97
97
import warnings
98
98
warnings .warn ('unable to load "torchvision" package' )
99
- import pytorch_sphinx_theme
100
99
101
100
rst_epilog = """
102
101
.. |edit| image:: /_static/pencil-16.png
@@ -249,7 +248,10 @@ def wrapper(*args, **kwargs):
249
248
distutils .file_util .copy_file (f , gallery_subdir_path , update = True )
250
249
251
250
# Add any paths that contain templates here, relative to this directory.
252
- templates_path = ['_templates' ]
251
+ templates_path = [
252
+ "_templates" ,
253
+ os .path .join (os .path .dirname (pytorch_sphinx_theme2 .__file__ ), "templates" ),
254
+ ]
253
255
254
256
# The suffix(es) of source filenames.
255
257
# You can specify multiple suffix as a list of string:
You can’t perform that action at this time.
0 commit comments