[Bf-blender-cvs] [9a38526be04] blender2.8: Py API Docs: show gpu_extras module

Jacques Lucke noreply at git.blender.org
Wed Nov 7 15:45:41 CET 2018


Commit: 9a38526be04bddd99565172165a2a49b50019e54
Author: Jacques Lucke
Date:   Wed Nov 7 15:45:28 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB9a38526be04bddd99565172165a2a49b50019e54

Py API Docs: show gpu_extras module

===================================================================

M	doc/python_api/sphinx_doc_gen.py
M	release/scripts/modules/gpu_extras/batch.py

===================================================================

diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 5de3eaeb2a3..ae6e53491fd 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1721,7 +1721,7 @@ def write_rst_contents(basepath):
 
     standalone_modules = (
         # submodules are added in parent page
-        "mathutils", "freestyle", "bgl", "blf", "gpu",
+        "mathutils", "freestyle", "bgl", "blf", "gpu", "gpu_extras",
         "aud", "bpy_extras", "idprop.types", "bmesh",
     )
 
@@ -1823,6 +1823,7 @@ def write_rst_importable_modules(basepath):
         "bpy.path": "Path Utilities",
         "bpy.utils": "Utilities",
         "bpy_extras": "Extra Utilities",
+        "gpu_extras": "GPU Utilities",
 
         # C_modules
         "aud": "Audio System",
diff --git a/release/scripts/modules/gpu_extras/batch.py b/release/scripts/modules/gpu_extras/batch.py
index 6a403a66089..2a1a4dc723c 100644
--- a/release/scripts/modules/gpu_extras/batch.py
+++ b/release/scripts/modules/gpu_extras/batch.py
@@ -17,7 +17,7 @@
 # ***** END GPL LICENSE BLOCK *****
 
 __all__ = (
-    "batch_for_shader"
+    "batch_for_shader",
 )



More information about the Bf-blender-cvs mailing list