[Bf-blender-cvs] [bee348a388b] blender2.8: PyAPI Docs: Remove BGE related documenation

Aaron Carlisle noreply at git.blender.org
Tue Aug 14 02:53:57 CEST 2018


Commit: bee348a388b8ae50c84272906111018512c5756c
Author: Aaron Carlisle
Date:   Mon Aug 13 17:29:36 2018 -0400
Branches: blender2.8
https://developer.blender.org/rBbee348a388b8ae50c84272906111018512c5756c

PyAPI Docs: Remove BGE related documenation

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

M	doc/python_api/sphinx_doc_gen.py

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

diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index af31dcd7674..beeb4e1d376 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -231,14 +231,6 @@ else:
     EXCLUDE_INFO_DOCS = True
     EXCLUDE_MODULES = [
         "aud",
-        "bge",
-        "bge.app"
-        "bge.constraints",
-        "bge.events",
-        "bge.logic",
-        "bge.render",
-        "bge.texture",
-        "bge.types",
         "bgl",
         "blf",
         "bmesh",
@@ -340,10 +332,6 @@ EXTRA_SOURCE_FILES = (
     "../../../release/scripts/templates_py/operator_simple.py",
     "../../../release/scripts/templates_py/ui_panel_simple.py",
     "../../../release/scripts/templates_py/ui_previews_custom_icon.py",
-    "../examples/bge.constraints.py",
-    "../examples/bge.texture.1.py",
-    "../examples/bge.texture.2.py",
-    "../examples/bge.texture.py",
     "../examples/bmesh.ops.1.py",
     "../examples/bpy.app.translations.py",
     "../static/favicon.ico",
@@ -1784,19 +1772,6 @@ def write_rst_contents(basepath):
     if "bmesh.ops" not in EXCLUDE_MODULES:
         execfile(os.path.join(SCRIPT_DIR, "rst_from_bmesh_opdefines.py"))
 
-    # game engine
-    if "bge" not in EXCLUDE_MODULES:
-        fw(title_string("Game Engine Modules", "=", double=True))
-        fw(".. toctree::\n")
-        fw("   :maxdepth: 1\n\n")
-        fw("   bge.types.rst\n\n")
-        fw("   bge.logic.rst\n\n")
-        fw("   bge.render.rst\n\n")
-        fw("   bge.texture.rst\n\n")
-        fw("   bge.events.rst\n\n")
-        fw("   bge.constraints.rst\n\n")
-        fw("   bge.app.rst\n\n")
-
     # rna generated change log
     fw(title_string("API Info", "=", double=True))
     fw(".. toctree::\n")
@@ -1816,7 +1791,7 @@ def write_rst_contents(basepath):
     fw("        timeline frames and scene objects\n")
     fw("      * user interface functions for defining buttons, creation of menus, headers, panels\n")
     fw("      * render engine integration\n")
-    fw("      * modules: bgl, mathutils & game engine.\n")
+    fw("      * modules: bgl & mathutils\n")
     fw("\n")
 
     file.close()
@@ -1952,36 +1927,19 @@ def copy_handwritten_rsts(basepath):
 
     # TODO put this docs in Blender's code and use import as per modules above
     handwritten_modules = [
-        "bge.logic",
-        "bge.render",
-        "bge.texture",
-        "bge.events",
-        "bge.constraints",
-        "bge.app",
         "bgl",  # "Blender OpenGl wrapper"
         "gpu",  # "GPU Shader Module"
-
         "bmesh.ops",  # generated by rst_from_bmesh_opdefines.py
 
         # includes...
         "include__bmesh",
     ]
+
     for mod_name in handwritten_modules:
         if mod_name not in EXCLUDE_MODULES:
             # copy2 keeps time/date stamps
             shutil.copy2(os.path.join(RST_DIR, "%s.rst" % mod_name), basepath)
 
-    if "bge.types" not in EXCLUDE_MODULES:
-        shutil.copy2(os.path.join(RST_DIR, "bge.types.rst"), basepath)
-
-        bge_types_dir = os.path.join(RST_DIR, "bge_types")
-
-        for i in os.listdir(bge_types_dir):
-            if i.startswith("."):
-                # Avoid things like .svn dir...
-                continue
-            shutil.copy2(os.path.join(bge_types_dir, i), basepath)
-
     # changelog
     shutil.copy2(os.path.join(RST_DIR, "change_log.rst"), basepath)



More information about the Bf-blender-cvs mailing list