We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fec7f1 commit d4879acCopy full SHA for d4879ac
doc/conf.py
@@ -141,11 +141,6 @@ def _check_deps():
141
master_doc = 'contents'
142
143
# General substitutions.
144
-from subprocess import check_output
145
-SHA = check_output(['git', 'describe', '--dirty']).decode('utf-8').strip()
146
-
147
-html_context = {'sha': SHA}
148
149
project = 'Matplotlib'
150
copyright = ('2002 - 2012 John Hunter, Darren Dale, Eric Firing, '
151
'Michael Droettboom and the Matplotlib development '
@@ -158,6 +153,7 @@ def _check_deps():
158
153
# The short X.Y version.
159
154
160
155
version = matplotlib.__version__
156
+html_context = {'sha': version}
161
157
# The full version, including alpha/beta/rc tags.
162
release = version
163
0 commit comments