We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75e2d22 commit cca3fc4Copy full SHA for cca3fc4
1 file changed
doc/conf.py
@@ -315,6 +315,11 @@ def gallery_image_warning_filter(record):
315
except (subprocess.CalledProcessError, FileNotFoundError):
316
SHA = matplotlib.__version__
317
318
+
319
+html_context = {
320
+ "doc_version": SHA,
321
+}
322
323
project = 'Matplotlib'
324
copyright = (
325
'2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom '
@@ -449,6 +454,7 @@ def js_tag_with_cache_busting(js):
449
454
"image_dark": "images/logo_dark.svg"},
450
455
"navbar_end": ["theme-switcher", "version-switcher", "mpl_icon_links"],
451
456
"secondary_sidebar_items": "page-toc.html",
457
+ "footer_items": ["copyright", "sphinx-version", "doc_version"],
452
458
}
453
459
include_analytics = is_release_build
460
if include_analytics:
0 commit comments