- cmake was missing an inclide (IDE's wouldnt index)
[blender.git] / doc / python_api / sphinx_doc_gen.py
index 3d220434e943108aa9d45c311e874c081bf5fc48..22655498a635e0b79454a5cf5119aa8a26e6ce55 100644 (file)
@@ -328,7 +328,7 @@ def rna2sphinx(BASEPATH):
     file = open(filepath, "w")
     fw = file.write
 
-    version_string = bpy.app.version_string.split("(")[0]
+    version_string = ".".join(str(v) for v in bpy.app.version)
     if bpy.app.build_revision != "Unknown":
         version_string = version_string + " r" + bpy.app.build_revision