HyukjinKwon commented on code in PR #39992:
URL: https://github.com/apache/spark/pull/39992#discussion_r1105215079
##########
python/docs/source/conf.py:
##########
@@ -121,9 +121,12 @@
# built documents.
#
# The short X.Y version.
-version = 'master'
+import pyspark
+import re
+version = re.sub(r"(\.?)dev.*", "", pyspark.__version__)
+
# The full version, including alpha/beta/rc tags.
-release = os.environ.get('RELEASE_VERSION', version)
Review Comment:
hm, probably we should revert these changes so we can tell it's built from
development version etc. Maybe for other vendors too (?).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]