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 @@ -315,6 +315,11 @@ def gallery_image_warning_filter(record):
315315except (subprocess .CalledProcessError , FileNotFoundError ):
316316 SHA = matplotlib .__version__
317317
318+
319+ html_context = {
320+ "doc_version" : SHA ,
321+ }
322+
318323project = 'Matplotlib'
319324copyright = (
320325 '2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom '
@@ -449,6 +454,7 @@ def js_tag_with_cache_busting(js):
449454 "image_dark" : "images/logo_dark.svg" },
450455 "navbar_end" : ["theme-switcher" , "version-switcher" , "mpl_icon_links" ],
451456 "secondary_sidebar_items" : "page-toc.html" ,
457+ "footer_items" : ["copyright" , "sphinx-version" , "doc_version" ],
452458}
453459include_analytics = is_release_build
454460if include_analytics :
You can’t perform that action at this time.
0 commit comments