Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
25e31f3d
Commit
25e31f3d
authored
Aug 04, 2009
by
Tiago Peixoto
Browse files
Include version string automatically in documentation
parent
0f1ea319
Changes
1
Show whitespace changes
Inline
Side-by-side
doc/conf.py
View file @
25e31f3d
...
...
@@ -51,9 +51,10 @@ copyright = u'2009, Tiago de Paula Peixoto <tiago@forked.de>'
# built documents.
#
# The short X.Y version.
version
=
'2.0'
from
graph_tool
import
__version__
as
gt_version
version
=
gt_version
.
split
()[
0
]
# The full version, including alpha/beta/rc tags.
release
=
'2.0beta1'
release
=
gt_version
.
split
()[
0
]
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
...
...
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