mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-31 17:17:43 -05:00
Fetch Sphinx version from Sphinx itself.
This commit is contained in:
1 parent
47f0113778
commit
0ee5e39253
1 file changed
+3
-2
+3
-2
@@ -40,9 +40,10 @@ copyright = '2008, Georg Brandl'
|
||||
# other places throughout the built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '0.1'
|
||||
import sphinx
|
||||
version = sphinx.__version__
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '0.1'
|
||||
release = version
|
||||
|
||||
# There are two options for replacing |today|: either, you set today to some
|
||||
# non-false value, then it is used:
|
||||
|
||||
Reference in new issue
Block a user