mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Fix version number on docs
This commit is contained in:
parent
5d1ae90286
commit
1fa890f356
|
@ -17,6 +17,7 @@ import sys, os
|
|||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
sys.path.insert(0, os.path.abspath('../'))
|
||||
import PIL
|
||||
|
||||
# -- General configuration -----------------------------------------------------
|
||||
|
||||
|
@ -50,9 +51,9 @@ copyright = u'1997-2011 by Secret Labs AB, 1995-2011 by Fredrik Lundh, 2010-2013
|
|||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '2.2.0'
|
||||
version = PIL.PILLOW_VERSION
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '2.2.0'
|
||||
release = version
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
Loading…
Reference in New Issue
Block a user