BGE: Splitting up the bge.types docs so they are not all on the same page. This should make them much easier to browse.

This commit is contained in:
Mitchell Stokes
2013-02-10 06:13:26 +00:00
parent a4a1c66725
commit 372cf93309
79 changed files with 5932 additions and 5383 deletions

View File

@@ -1710,7 +1710,6 @@ def copy_handwritten_rsts(basepath):
# TODO put this docs in blender's code and use import as per modules above
handwritten_modules = [
"bge.types",
"bge.logic",
"bge.render",
"bge.texture",
@@ -1729,6 +1728,14 @@ def copy_handwritten_rsts(basepath):
# 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):
shutil.copy2(os.path.join(bge_types_dir, i), basepath)
# changelog
shutil.copy2(os.path.join(RST_DIR, "change_log.rst"), basepath)