File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ sphinx-gallery==0.11.1
6
6
sphinx_design
7
7
docutils == 0.16
8
8
sphinx-copybutton
9
+ sphinx_sitemap == 2.6.0
9
10
pypandoc == 1.12
10
11
pandocfilters
11
12
markdown
Original file line number Diff line number Diff line change 76
76
'sphinx_copybutton' ,
77
77
'sphinx_gallery.gen_gallery' ,
78
78
'sphinx_design' ,
79
+ 'sphinx_sitemap'
79
80
]
80
81
81
82
intersphinx_mapping = {
@@ -114,6 +115,13 @@ def reset_seeds(gallery_conf, fname):
114
115
},
115
116
}
116
117
118
+ html_baseurl = 'https://pytorch.org/tutorials/' # needed for sphinx-sitemap
119
+ sitemap_locales = [None ]
120
+ sitemap_excludes = [
121
+ "search.html" ,
122
+ "genindex.html" ,
123
+ ]
124
+
117
125
if os .getenv ('GALLERY_PATTERN' ):
118
126
# GALLERY_PATTERN is to be used when you want to work on a single
119
127
# tutorial. Previously this was fed into filename_pattern, but
You can’t perform that action at this time.
0 commit comments