@@ -172,30 +172,28 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
172
172
173
173
174
174
sphinx_gallery_conf = {
175
+ 'backreferences_dir' : Path ('api' ) / Path ('_as_gen' ),
176
+ # Compression is a significant effort that we skip for local and CI builds.
177
+ 'compress_images' : ('thumbnails' , 'images' ) if is_release_build else (),
178
+ 'doc_module' : ('matplotlib' , 'mpl_toolkits' ),
175
179
'examples_dirs' : ['../examples' , '../tutorials' , '../plot_types' ],
176
180
'filename_pattern' : '^((?!sgskip).)*$' ,
177
181
'gallery_dirs' : ['gallery' , 'tutorials' , 'plot_types' ],
178
- 'doc_module' : ('matplotlib' , 'mpl_toolkits' ),
179
- 'reference_url' : {
180
- 'matplotlib' : None ,
181
- },
182
- 'backreferences_dir' : Path ('api' ) / Path ('_as_gen' ),
183
- 'subsection_order' : gallery_order .sectionorder ,
184
- 'within_subsection_order' : gallery_order .subsectionorder ,
185
- 'remove_config_comments' : True ,
186
- 'min_reported_time' : 1 ,
187
- 'thumbnail_size' : (320 , 224 ),
188
182
'image_scrapers' : (matplotlib_reduced_latex_scraper , ),
189
- # Compression is a significant effort that we skip for local and CI builds.
190
- 'compress_images' : ('thumbnails' , 'images' ) if is_release_build else (),
191
- 'matplotlib_animations' : True ,
192
183
'image_srcset' : ["2x" ],
193
184
'junit' : '../test-results/sphinx-gallery/junit.xml' if CIRCLECI else '' ,
185
+ 'matplotlib_animations' : True ,
186
+ 'min_reported_time' : 1 ,
187
+ 'reference_url' : {'matplotlib' : None },
188
+ 'remove_config_comments' : True ,
194
189
'reset_modules' : (
195
190
'matplotlib' ,
196
191
# clear basic_units module to re-register with unit registry on import
197
192
lambda gallery_conf , fname : sys .modules .pop ('basic_units' , None )
198
193
),
194
+ 'subsection_order' : gallery_order .sectionorder ,
195
+ 'thumbnail_size' : (320 , 224 ),
196
+ 'within_subsection_order' : gallery_order .subsectionorder ,
199
197
}
200
198
201
199
mathmpl_fontsize = 11.0
0 commit comment 3076 s