diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-29 03:00:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-29 03:00:57 +0400 |
commit | f85ccedb93ec35b7edc3ab64dd0470f9dedd7a55 (patch) | |
tree | cc36cb71c58dcf626987c469ad51a4e576ef2c44 /doc/python_api/sphinx_doc_gen.py | |
parent | 3e49787b01160b21a3b349c77c279eae5dccffb3 (diff) |
Python API Docs: update for using git buildinfo and change upload URL
Diffstat (limited to 'doc/python_api/sphinx_doc_gen.py')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index e95fa6fef35..ff3fe6377c2 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -384,12 +384,12 @@ MODULE_GROUPING = { blender_version_strings = [str(v) for v in bpy.app.version] # converting bytes to strings, due to #30154 -BLENDER_REVISION = str(bpy.app.build_revision, 'utf_8') +BLENDER_REVISION = str(bpy.app.build_hash, 'utf_8') BLENDER_DATE = str(bpy.app.build_date, 'utf_8') BLENDER_VERSION_DOTS = ".".join(blender_version_strings) # '2.62.1' if BLENDER_REVISION != "Unknown": - BLENDER_VERSION_DOTS += " r" + BLENDER_REVISION # '2.62.1 r44584' + BLENDER_VERSION_DOTS += " " + BLENDER_REVISION # '2.62.1 SHA1' BLENDER_VERSION_PATH = "_".join(blender_version_strings) # '2_62_1' if bpy.app.version_cycle == "release": |