File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,8 @@ def _check_dependencies():
168168 'thumbnail_size' : (320 , 224 ),
169169 'compress_images' : ('thumbnails' , 'images' ),
170170 'matplotlib_animations' : True ,
171+ # 3.7 CI doc build should not use hidpi images during the testing phase
172+ 'image_srcset' : [] if sys .version_info [:2 ] == (3 , 7 ) else ["2x" ],
171173}
172174
173175plot_gallery = 'True'
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ ipython
1313ipywidgets
1414numpydoc>=0.8
1515sphinxcontrib-svg2pdfconverter>=1.1.0
16- sphinx-gallery>=0.7
16+ # sphinx-gallery>=0.7
17+ # b41e328 is PR 808 which adds the image_srcset directive. When this is
18+ # released with sphinx gallery, we can change to the last release w/o this feature:
19+ # sphinx-gallery>0.90
20+ git+git://github.com/sphinx-gallery/sphinx-gallery@b41e328#egg=sphinx-gallery
1721sphinx-copybutton
1822scipy
You can’t perform that action at this time.
0 commit comments