File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,11 @@ def gallery_image_warning_filter(record):
270
270
except (subprocess .CalledProcessError , FileNotFoundError ):
271
271
SHA = matplotlib .__version__
272
272
273
+
274
+ html_context = {
275
+ "lib_version" : f'Matplotlib { SHA } ' ,
276
+ }
277
+
273
278
project = 'Matplotlib'
274
279
copyright = (
275
280
'2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom '
@@ -404,6 +409,7 @@ def js_tag_with_cache_busting(js):
404
409
"image_dark" : "images/logo_dark.svg" },
405
410
"navbar_end" : ["theme-switcher" , "version-switcher" , "mpl_icon_links" ],
406
411
"secondary_sidebar_items" : "page-toc.html" ,
412
+ "footer_items" : ["copyright" , "sphinx-version" , "lib_version" ],
407
413
}
408
414
include_analytics = is_release_build
409
415
if include_analytics :
You can’t perform that action at this time.
0 commit comments