diff options
author | Davies Liu <davies@databricks.com> | 2015-02-25 15:13:34 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-02-25 15:13:34 -0800 |
commit | f3f4c87b3d944c10d1200dfe49091ebb2a149be6 (patch) | |
tree | 4309f8524cff37343ecc13c43cd5b4a69cccd620 /python/docs/conf.py | |
parent | 838a48036c050cef03b8c3620e16b5495cd7beab (diff) | |
download | spark-f3f4c87b3d944c10d1200dfe49091ebb2a149be6.tar.gz spark-f3f4c87b3d944c10d1200dfe49091ebb2a149be6.tar.bz2 spark-f3f4c87b3d944c10d1200dfe49091ebb2a149be6.zip |
[SPARK-5944] [PySpark] fix version in Python API docs
use RELEASE_VERSION when building the Python API docs
Author: Davies Liu <davies@databricks.com>
Closes #4731 from davies/api_version and squashes the following commits:
c9744c9 [Davies Liu] Update create-release.sh
08cbc3f [Davies Liu] fix python docs
Diffstat (limited to 'python/docs/conf.py')
-rw-r--r-- | python/docs/conf.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/docs/conf.py b/python/docs/conf.py index cbbf7ffb08..163987dd8e 100644 --- a/python/docs/conf.py +++ b/python/docs/conf.py @@ -48,16 +48,16 @@ master_doc = 'index' # General information about the project. project = u'PySpark' -copyright = u'2014, Author' +copyright = u'' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '1.3-SNAPSHOT' +version = 'master' # The full version, including alpha/beta/rc tags. -release = '1.3-SNAPSHOT' +release = os.environ.get('RELEASE_VERSION', version) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |