py docs - gpu module wasn't included in docs.
also added convenience target to build sphinx api docs: make doc_py
This commit is contained in:
@@ -83,6 +83,7 @@ else:
|
||||
"aud",
|
||||
"bgl",
|
||||
"blf",
|
||||
"gpu",
|
||||
"mathutils",
|
||||
"mathutils.geometry",
|
||||
)
|
||||
@@ -1122,6 +1123,8 @@ def rna2sphinx(BASEPATH):
|
||||
fw(" bgl.rst\n\n")
|
||||
if "blf" not in EXCLUDE_MODULES:
|
||||
fw(" blf.rst\n\n")
|
||||
if "gpu" not in EXCLUDE_MODULES:
|
||||
fw(" gpu.rst\n\n")
|
||||
if "aud" not in EXCLUDE_MODULES:
|
||||
fw(" aud.rst\n\n")
|
||||
if "bpy_extras" not in EXCLUDE_MODULES:
|
||||
@@ -1262,6 +1265,13 @@ def rna2sphinx(BASEPATH):
|
||||
import shutil
|
||||
shutil.copy2(os.path.join(BASEPATH, "..", "rst", "bgl.rst"), BASEPATH)
|
||||
|
||||
if "gpu" not in EXCLUDE_MODULES:
|
||||
#import gpu as module
|
||||
#pymodule2sphinx(BASEPATH, "gpu", module, "GPU Shader Module")
|
||||
#del module
|
||||
import shutil
|
||||
shutil.copy2(os.path.join(BASEPATH, "..", "rst", "gpu.rst"), BASEPATH)
|
||||
|
||||
if "aud" not in EXCLUDE_MODULES:
|
||||
import aud as module
|
||||
pymodule2sphinx(BASEPATH, "aud", module, "Audio System")
|
||||
|
Reference in New Issue
Block a user