Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit76ef461

Browse files
ksundentacaswell
authored andcommitted
Merge pull request#24781 from tacaswell/mnt/restore_doc_sha
DOC: restore SHA to footer(cherry picked from commit73909bc)
1 parenta0ae6d8 commit76ef461

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

‎doc/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,11 @@ def gallery_image_warning_filter(record):
270270
except (subprocess.CalledProcessError,FileNotFoundError):
271271
SHA=matplotlib.__version__
272272

273+
274+
html_context= {
275+
"doc_version":SHA,
276+
}
277+
273278
project='Matplotlib'
274279
copyright= (
275280
'2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom '
@@ -404,6 +409,7 @@ def js_tag_with_cache_busting(js):
404409
"image_dark":"images/logo_dark.svg"},
405410
"navbar_end": ["theme-switcher","version-switcher","mpl_icon_links"],
406411
"secondary_sidebar_items":"page-toc.html",
412+
"footer_items": ["copyright","sphinx-version","doc_version"],
407413
}
408414
include_analytics=is_release_build
409415
ifinclude_analytics:

‎requirements/doc/doc-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ipywidgets
1414
numpydoc>=1.0
1515
packaging>=20
1616
pydata-sphinx-theme>=0.12.0
17-
mpl-sphinx-theme
17+
mpl-sphinx-theme>=3.7.0
1818
sphinxcontrib-svg2pdfconverter>=1.1.0
1919
sphinx-gallery>=0.10
2020
sphinx-copybutton

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp