Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
845c5df8
Commit
845c5df8
authored
Jul 10, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include the version of the library on generated documentation pages. Fixes #340. [skip ci]
parent
722f833d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
doc/conf.py
doc/conf.py
+1
-1
doc/gevent.rst
doc/gevent.rst
+2
-0
doc/mytheme/layout.html
doc/mytheme/layout.html
+1
-3
doc/mytheme/theme.conf
doc/mytheme/theme.conf
+1
-0
gevent/__init__.py
gevent/__init__.py
+1
-0
No files found.
doc/conf.py
View file @
845c5df8
...
...
@@ -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.
...
...
doc/gevent.rst
View file @
845c5df8
...
...
@@ -5,6 +5,8 @@
The most common functions and classes are available in the :mod:`gevent` top level package.
.. autodata:: __version__
Greenlet objects
----------------
...
...
doc/mytheme/layout.html
View file @
845c5df8
...
...
@@ -239,7 +239,7 @@
<div
class=
"left"
id=
"footer-left"
>
<p>
<a
href=
"http://denisbilenko.com"
class=
"quiet-link"
>
©
2009-2013 Denis Bilenko
</a></p>
<p>
version {{theme_gevent_version}}
<a
href=
"http://denisbilenko.com"
class=
"quiet-link"
>
©
2009-2015 Denis Bilenko, gevent contributors
</a></p>
<div
class=
"clearer"
>
</div>
...
...
@@ -259,5 +259,3 @@
</body>
</html>
doc/mytheme/theme.conf
View file @
845c5df8
...
...
@@ -4,6 +4,7 @@ stylesheet = basic.css
pygments_style
=
sphinx
[
options
]
gevent_version
=
0
.
0
.
0
nosidebar
=
false
rightsidebar
=
false
stickysidebar
=
false
...
...
gevent/__init__.py
View file @
845c5df8
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment