Merged changes in the trunk up to revision 31403.
This commit is contained in:
@@ -145,7 +145,9 @@ def pyfunc2sphinx(ident, fw, identifier, py_func, is_class=True):
|
||||
|
||||
|
||||
def py_descr2sphinx(ident, fw, descr, module_name, type_name, identifier):
|
||||
|
||||
if identifier.startswith("_"):
|
||||
return
|
||||
|
||||
doc = descr.__doc__
|
||||
if not doc:
|
||||
doc = undocumented_message(module_name, type_name, identifier)
|
||||
@@ -389,6 +391,7 @@ def rna2sphinx(BASEPATH):
|
||||
fw(" mathutils.rst\n\n")
|
||||
fw(" Freestyle.rst\n\n")
|
||||
fw(" blf.rst\n\n")
|
||||
fw(" aud.rst\n\n")
|
||||
|
||||
# game engine
|
||||
fw("===================\n")
|
||||
@@ -475,6 +478,10 @@ def rna2sphinx(BASEPATH):
|
||||
import blf as module
|
||||
pymodule2sphinx(BASEPATH, "blf", module, "Font Drawing (blf)")
|
||||
del module
|
||||
|
||||
import aud as module
|
||||
pymodule2sphinx(BASEPATH, "aud", module, "Audio System (aud)")
|
||||
del module
|
||||
|
||||
# game engine
|
||||
import shutil
|
||||
@@ -776,7 +783,8 @@ def rna2sphinx(BASEPATH):
|
||||
|
||||
file.close()
|
||||
|
||||
if __name__ == '__main__':
|
||||
def main():
|
||||
import bpy
|
||||
if 'bpy' not in dir():
|
||||
print("\nError, this script must run from inside blender2.5")
|
||||
print(script_help_msg)
|
||||
@@ -846,3 +854,6 @@ if __name__ == '__main__':
|
||||
|
||||
import sys
|
||||
sys.exit()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user