Commit 845c5df8 authored by Jason Madden's avatar Jason Madden

Include the version of the library on generated documentation pages. Fixes #340. [skip ci]

parent 722f833d
......@@ -117,7 +117,7 @@ modindex_common_prefix = ['gevent.']
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme = 'mytheme'
html_theme_path = ['.']
html_theme_options = {'gevent_version': __version__}
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
......
......@@ -5,6 +5,8 @@
The most common functions and classes are available in the :mod:`gevent` top level package.
.. autodata:: __version__
Greenlet objects
----------------
......
......@@ -239,7 +239,7 @@
<div class="left" id="footer-left">
<p><a href="http://denisbilenko.com" class="quiet-link">&copy; 2009-2013 Denis Bilenko</a></p>
<p>version {{theme_gevent_version}} <a href="http://denisbilenko.com" class="quiet-link">&copy; 2009-2015 Denis Bilenko, gevent contributors</a></p>
<div class="clearer">&nbsp;</div>
......@@ -259,5 +259,3 @@
</body>
</html>
......@@ -4,6 +4,7 @@ stylesheet = basic.css
pygments_style = sphinx
[options]
gevent_version = 0.0.0
nosidebar = false
rightsidebar = false
stickysidebar = false
......
......@@ -9,6 +9,7 @@ See http://www.gevent.org/ for the documentation.
from __future__ import absolute_import
version_info = (1, 1, 'a3', 'dev', 0)
#: The human-readable PEP 440 version identifier
__version__ = '1.1a3.dev0'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment