mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fetch Sphinx version from Sphinx itself.
This commit is contained in:
@@ -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