From 677e95d8d189a62e6473b43989012a8258f193a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 15 Nov 2017 19:23:20 +0100 Subject: [PATCH] doc: Make all module docs self-contained --- modules/bullet/config.py | 10 +++- .../BulletPhysicsDirectBodyState.xml | 0 .../doc_classes}/BulletPhysicsServer.xml | 0 modules/dds/config.py | 2 - modules/enet/config.py | 10 +++- .../doc_classes}/NetworkedMultiplayerENet.xml | 0 modules/etc/config.py | 2 - modules/freetype/config.py | 2 - modules/gdnative/config.py | 11 ++-- .../gdnative/doc_classes}/PluginScript.xml | 0 modules/gdscript/config.py | 13 +++-- .../gdscript/doc_classes}/GDFunctionState.xml | 0 .../gdscript/doc_classes}/GDNativeClass.xml | 0 .../gdscript/doc_classes}/GDScript.xml | 0 modules/gridmap/config.py | 9 ++-- modules/hdr/config.py | 2 - modules/jpg/config.py | 2 - modules/mobile_vr/config.py | 12 +++-- modules/mono/config.py | 6 ++- modules/ogg/config.py | 2 - modules/openssl/config.py | 2 - modules/opus/config.py | 10 +++- modules/pbm/config.py | 2 - modules/pvr/config.py | 2 - modules/recast/config.py | 2 - modules/regex/config.py | 13 +++-- .../regex/doc_classes}/RegEx.xml | 0 .../regex/doc_classes}/RegExMatch.xml | 0 modules/squish/config.py | 2 - modules/stb_vorbis/config.py | 11 +++- .../doc_classes}/AudioStreamOGGVorbis.xml | 0 .../ResourceImporterOGGVorbis.xml | 0 modules/svg/config.py | 2 - modules/tga/config.py | 2 - modules/theora/config.py | 11 +++- modules/tinyexr/config.py | 2 - modules/visual_script/config.py | 51 +++++++++++++++++-- .../doc_classes}/VisualScript.xml | 0 .../VisualScriptBasicTypeConstant.xml | 0 .../doc_classes}/VisualScriptBuiltinFunc.xml | 0 .../VisualScriptClassConstant.xml | 0 .../doc_classes}/VisualScriptComment.xml | 0 .../doc_classes}/VisualScriptCondition.xml | 0 .../doc_classes}/VisualScriptConstant.xml | 0 .../doc_classes}/VisualScriptConstructor.xml | 0 .../doc_classes}/VisualScriptCustomNode.xml | 0 .../doc_classes}/VisualScriptDeconstruct.xml | 0 .../doc_classes}/VisualScriptEmitSignal.xml | 0 .../VisualScriptEngineSingleton.xml | 0 .../doc_classes}/VisualScriptExpression.xml | 0 .../doc_classes}/VisualScriptFunction.xml | 0 .../doc_classes}/VisualScriptFunctionCall.xml | 0 .../VisualScriptFunctionState.xml | 0 .../VisualScriptGlobalConstant.xml | 0 .../doc_classes}/VisualScriptIndexGet.xml | 0 .../doc_classes}/VisualScriptIndexSet.xml | 0 .../doc_classes}/VisualScriptInputAction.xml | 0 .../doc_classes}/VisualScriptIterator.xml | 0 .../doc_classes}/VisualScriptLocalVar.xml | 0 .../doc_classes}/VisualScriptLocalVarSet.xml | 0 .../doc_classes}/VisualScriptMathConstant.xml | 0 .../doc_classes}/VisualScriptNode.xml | 0 .../doc_classes}/VisualScriptOperator.xml | 0 .../doc_classes}/VisualScriptPreload.xml | 0 .../doc_classes}/VisualScriptPropertyGet.xml | 0 .../doc_classes}/VisualScriptPropertySet.xml | 0 .../doc_classes}/VisualScriptResourcePath.xml | 0 .../doc_classes}/VisualScriptReturn.xml | 0 .../doc_classes}/VisualScriptSceneNode.xml | 0 .../doc_classes}/VisualScriptSceneTree.xml | 0 .../doc_classes}/VisualScriptSelect.xml | 0 .../doc_classes}/VisualScriptSelf.xml | 0 .../doc_classes}/VisualScriptSequence.xml | 0 .../doc_classes}/VisualScriptSubCall.xml | 0 .../doc_classes}/VisualScriptSwitch.xml | 0 .../doc_classes}/VisualScriptTypeCast.xml | 0 .../doc_classes}/VisualScriptVariableGet.xml | 0 .../doc_classes}/VisualScriptVariableSet.xml | 0 .../doc_classes}/VisualScriptWhile.xml | 0 .../doc_classes}/VisualScriptYield.xml | 0 .../doc_classes}/VisualScriptYieldSignal.xml | 0 modules/vorbis/config.py | 2 - modules/webm/config.py | 11 +++- modules/webp/config.py | 2 - 84 files changed, 142 insertions(+), 68 deletions(-) rename {doc/classes => modules/bullet/doc_classes}/BulletPhysicsDirectBodyState.xml (100%) rename {doc/classes => modules/bullet/doc_classes}/BulletPhysicsServer.xml (100%) rename {doc/classes => modules/enet/doc_classes}/NetworkedMultiplayerENet.xml (100%) rename {doc/classes => modules/gdnative/doc_classes}/PluginScript.xml (100%) rename {doc/classes => modules/gdscript/doc_classes}/GDFunctionState.xml (100%) rename {doc/classes => modules/gdscript/doc_classes}/GDNativeClass.xml (100%) rename {doc/classes => modules/gdscript/doc_classes}/GDScript.xml (100%) rename {doc/classes => modules/regex/doc_classes}/RegEx.xml (100%) rename {doc/classes => modules/regex/doc_classes}/RegExMatch.xml (100%) rename {doc/classes => modules/stb_vorbis/doc_classes}/AudioStreamOGGVorbis.xml (100%) rename {doc/classes => modules/stb_vorbis/doc_classes}/ResourceImporterOGGVorbis.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScript.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptBasicTypeConstant.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptBuiltinFunc.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptClassConstant.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptComment.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptCondition.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptConstant.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptConstructor.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptCustomNode.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptDeconstruct.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptEmitSignal.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptEngineSingleton.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptExpression.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptFunction.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptFunctionCall.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptFunctionState.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptGlobalConstant.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptIndexGet.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptIndexSet.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptInputAction.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptIterator.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptLocalVar.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptLocalVarSet.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptMathConstant.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptNode.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptOperator.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptPreload.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptPropertyGet.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptPropertySet.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptResourcePath.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptReturn.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptSceneNode.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptSceneTree.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptSelect.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptSelf.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptSequence.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptSubCall.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptSwitch.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptTypeCast.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptVariableGet.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptVariableSet.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptWhile.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptYield.xml (100%) rename {doc/classes => modules/visual_script/doc_classes}/VisualScriptYieldSignal.xml (100%) diff --git a/modules/bullet/config.py b/modules/bullet/config.py index b00ea183286..0a31c2e503b 100644 --- a/modules/bullet/config.py +++ b/modules/bullet/config.py @@ -3,4 +3,12 @@ def can_build(platform): def configure(env): pass - + +def get_doc_classes(): + return [ + "BulletPhysicsDirectBodyState", + "BulletPhysicsServer", + ] + +def get_doc_path(): + return "doc_classes" diff --git a/doc/classes/BulletPhysicsDirectBodyState.xml b/modules/bullet/doc_classes/BulletPhysicsDirectBodyState.xml similarity index 100% rename from doc/classes/BulletPhysicsDirectBodyState.xml rename to modules/bullet/doc_classes/BulletPhysicsDirectBodyState.xml diff --git a/doc/classes/BulletPhysicsServer.xml b/modules/bullet/doc_classes/BulletPhysicsServer.xml similarity index 100% rename from doc/classes/BulletPhysicsServer.xml rename to modules/bullet/doc_classes/BulletPhysicsServer.xml diff --git a/modules/dds/config.py b/modules/dds/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/dds/config.py +++ b/modules/dds/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/enet/config.py b/modules/enet/config.py index fb920482f5f..8031fbb4b6f 100644 --- a/modules/enet/config.py +++ b/modules/enet/config.py @@ -1,7 +1,13 @@ - def can_build(platform): return True - def configure(env): pass + +def get_doc_classes(): + return [ + "NetworkedMultiplayerENet", + ] + +def get_doc_path(): + return "doc_classes" diff --git a/doc/classes/NetworkedMultiplayerENet.xml b/modules/enet/doc_classes/NetworkedMultiplayerENet.xml similarity index 100% rename from doc/classes/NetworkedMultiplayerENet.xml rename to modules/enet/doc_classes/NetworkedMultiplayerENet.xml diff --git a/modules/etc/config.py b/modules/etc/config.py index 7dc2cb59c1c..395fc1bb02c 100644 --- a/modules/etc/config.py +++ b/modules/etc/config.py @@ -1,8 +1,6 @@ - def can_build(platform): return True - def configure(env): # Tools only, disabled for non-tools # TODO: Find a cleaner way to achieve that diff --git a/modules/freetype/config.py b/modules/freetype/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/freetype/config.py +++ b/modules/freetype/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/gdnative/config.py b/modules/gdnative/config.py index df3556249d4..68148c4d87a 100644 --- a/modules/gdnative/config.py +++ b/modules/gdnative/config.py @@ -1,4 +1,3 @@ - def can_build(platform): return True @@ -6,7 +5,13 @@ def configure(env): env.use_ptrcall = True def get_doc_classes(): - return ["GDNative", "GDNativeLibrary", "NativeScript", "ARVRInterfaceGDNative"] + return [ + "ARVRInterfaceGDNative", + "GDNative", + "GDNativeLibrary", + "NativeScript", + "PluginScript", + ] def get_doc_path(): - return "doc_classes" + return "doc_classes" diff --git a/doc/classes/PluginScript.xml b/modules/gdnative/doc_classes/PluginScript.xml similarity index 100% rename from doc/classes/PluginScript.xml rename to modules/gdnative/doc_classes/PluginScript.xml diff --git a/modules/gdscript/config.py b/modules/gdscript/config.py index 5698a372954..6e8994d6433 100644 --- a/modules/gdscript/config.py +++ b/modules/gdscript/config.py @@ -1,8 +1,15 @@ - - def can_build(platform): return True - def configure(env): pass + +def get_doc_classes(): + return [ + "GDFunctionState", + "GDNativeClass", + "GDScript", + ] + +def get_doc_path(): + return "doc_classes" diff --git a/doc/classes/GDFunctionState.xml b/modules/gdscript/doc_classes/GDFunctionState.xml similarity index 100% rename from doc/classes/GDFunctionState.xml rename to modules/gdscript/doc_classes/GDFunctionState.xml diff --git a/doc/classes/GDNativeClass.xml b/modules/gdscript/doc_classes/GDNativeClass.xml similarity index 100% rename from doc/classes/GDNativeClass.xml rename to modules/gdscript/doc_classes/GDNativeClass.xml diff --git a/doc/classes/GDScript.xml b/modules/gdscript/doc_classes/GDScript.xml similarity index 100% rename from doc/classes/GDScript.xml rename to modules/gdscript/doc_classes/GDScript.xml diff --git a/modules/gridmap/config.py b/modules/gridmap/config.py index b3dbb9f46a4..a93f4edb810 100644 --- a/modules/gridmap/config.py +++ b/modules/gridmap/config.py @@ -1,14 +1,13 @@ - - def can_build(platform): return True - def configure(env): pass def get_doc_classes(): - return ["GridMap"] + return [ + "GridMap", + ] def get_doc_path(): - return "doc_classes" + return "doc_classes" diff --git a/modules/hdr/config.py b/modules/hdr/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/hdr/config.py +++ b/modules/hdr/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/jpg/config.py b/modules/jpg/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/jpg/config.py +++ b/modules/jpg/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/mobile_vr/config.py b/modules/mobile_vr/config.py index cf96c661251..4e1155f0c6c 100644 --- a/modules/mobile_vr/config.py +++ b/modules/mobile_vr/config.py @@ -1,12 +1,14 @@ def can_build(platform): - # should probably change this to only be true on iOS and Android - return True + # should probably change this to only be true on iOS and Android + return True def configure(env): - pass + pass def get_doc_classes(): - return ["MobileVRInterface"] + return [ + "MobileVRInterface", + ] def get_doc_path(): - return "doc_classes" + return "doc_classes" diff --git a/modules/mono/config.py b/modules/mono/config.py index 7ad135e0b9a..b4e64332562 100644 --- a/modules/mono/config.py +++ b/modules/mono/config.py @@ -177,7 +177,11 @@ def configure(env): def get_doc_classes(): - return ["@C#", "CSharpScript", "GodotSharp"] + return [ + "@C#", + "CSharpScript", + "GodotSharp", + ] def get_doc_path(): diff --git a/modules/ogg/config.py b/modules/ogg/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/ogg/config.py +++ b/modules/ogg/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/openssl/config.py b/modules/openssl/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/openssl/config.py +++ b/modules/openssl/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/opus/config.py b/modules/opus/config.py index fb920482f5f..60f8d838d60 100644 --- a/modules/opus/config.py +++ b/modules/opus/config.py @@ -1,7 +1,13 @@ - def can_build(platform): return True - def configure(env): pass + +def get_doc_classes(): + return [ + "AudioStreamOpus", + ] + +def get_doc_path(): + return "doc_classes" diff --git a/modules/pbm/config.py b/modules/pbm/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/pbm/config.py +++ b/modules/pbm/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/pvr/config.py b/modules/pvr/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/pvr/config.py +++ b/modules/pvr/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/recast/config.py b/modules/recast/config.py index d42f07b2a9c..fc074cf6612 100644 --- a/modules/recast/config.py +++ b/modules/recast/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return platform != "android" - def configure(env): pass diff --git a/modules/regex/config.py b/modules/regex/config.py index 5347cfd2438..cb2da267383 100644 --- a/modules/regex/config.py +++ b/modules/regex/config.py @@ -1,9 +1,14 @@ -#!/usr/bin/env python - - def can_build(platform): return True - def configure(env): pass + +def get_doc_classes(): + return [ + "RegEx", + "RegExMatch", + ] + +def get_doc_path(): + return "doc_classes" diff --git a/doc/classes/RegEx.xml b/modules/regex/doc_classes/RegEx.xml similarity index 100% rename from doc/classes/RegEx.xml rename to modules/regex/doc_classes/RegEx.xml diff --git a/doc/classes/RegExMatch.xml b/modules/regex/doc_classes/RegExMatch.xml similarity index 100% rename from doc/classes/RegExMatch.xml rename to modules/regex/doc_classes/RegExMatch.xml diff --git a/modules/squish/config.py b/modules/squish/config.py index 9b7729bda46..97c95999c87 100644 --- a/modules/squish/config.py +++ b/modules/squish/config.py @@ -1,8 +1,6 @@ - def can_build(platform): return True - def configure(env): # Tools only, disabled for non-tools # TODO: Find a cleaner way to achieve that diff --git a/modules/stb_vorbis/config.py b/modules/stb_vorbis/config.py index fb920482f5f..defe8d0c94f 100644 --- a/modules/stb_vorbis/config.py +++ b/modules/stb_vorbis/config.py @@ -1,7 +1,14 @@ - def can_build(platform): return True - def configure(env): pass + +def get_doc_classes(): + return [ + "AudioStreamOGGVorbis", + "ResourceImporterOGGVorbis", + ] + +def get_doc_path(): + return "doc_classes" diff --git a/doc/classes/AudioStreamOGGVorbis.xml b/modules/stb_vorbis/doc_classes/AudioStreamOGGVorbis.xml similarity index 100% rename from doc/classes/AudioStreamOGGVorbis.xml rename to modules/stb_vorbis/doc_classes/AudioStreamOGGVorbis.xml diff --git a/doc/classes/ResourceImporterOGGVorbis.xml b/modules/stb_vorbis/doc_classes/ResourceImporterOGGVorbis.xml similarity index 100% rename from doc/classes/ResourceImporterOGGVorbis.xml rename to modules/stb_vorbis/doc_classes/ResourceImporterOGGVorbis.xml diff --git a/modules/svg/config.py b/modules/svg/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/svg/config.py +++ b/modules/svg/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/tga/config.py b/modules/tga/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/tga/config.py +++ b/modules/tga/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/theora/config.py b/modules/theora/config.py index fb920482f5f..34d34f8be2f 100644 --- a/modules/theora/config.py +++ b/modules/theora/config.py @@ -1,7 +1,14 @@ - def can_build(platform): return True - def configure(env): pass + +def get_doc_classes(): + return [ + "ResourceImporterTheora", + "VideoStreamTheora", + ] + +def get_doc_path(): + return "doc_classes" diff --git a/modules/tinyexr/config.py b/modules/tinyexr/config.py index 3e16fd725ef..e12bb398ceb 100644 --- a/modules/tinyexr/config.py +++ b/modules/tinyexr/config.py @@ -1,8 +1,6 @@ - def can_build(platform): return True - def configure(env): # Tools only, disabled for non-tools # TODO: Find a cleaner way to achieve that diff --git a/modules/visual_script/config.py b/modules/visual_script/config.py index d10adb09d96..6b1ce410146 100644 --- a/modules/visual_script/config.py +++ b/modules/visual_script/config.py @@ -1,14 +1,57 @@ - - def can_build(platform): return True - def configure(env): pass def get_doc_classes(): - return ["VisualScriptEditor"] + return [ + "VisualScriptBasicTypeConstant", + "VisualScriptBuiltinFunc", + "VisualScriptClassConstant", + "VisualScriptComment", + "VisualScriptCondition", + "VisualScriptConstant", + "VisualScriptConstructor", + "VisualScriptCustomNode", + "VisualScriptDeconstruct", + "VisualScriptEditor", + "VisualScriptEmitSignal", + "VisualScriptEngineSingleton", + "VisualScriptExpression", + "VisualScriptFunctionCall", + "VisualScriptFunctionState", + "VisualScriptFunction", + "VisualScriptGlobalConstant", + "VisualScriptIndexGet", + "VisualScriptIndexSet", + "VisualScriptInputAction", + "VisualScriptIterator", + "VisualScriptLocalVarSet", + "VisualScriptLocalVar", + "VisualScriptMathConstant", + "VisualScriptNode", + "VisualScriptOperator", + "VisualScriptPreload", + "VisualScriptPropertyGet", + "VisualScriptPropertySet", + "VisualScriptResourcePath", + "VisualScriptReturn", + "VisualScriptSceneNode", + "VisualScriptSceneTree", + "VisualScriptSelect", + "VisualScriptSelf", + "VisualScriptSequence", + "VisualScriptSubCall", + "VisualScriptSwitch", + "VisualScriptTypeCast", + "VisualScriptVariableGet", + "VisualScriptVariableSet", + "VisualScriptWhile", + "VisualScript", + "VisualScriptYieldSignal", + "VisualScriptYield", + ] def get_doc_path(): return "doc_classes" diff --git a/doc/classes/VisualScript.xml b/modules/visual_script/doc_classes/VisualScript.xml similarity index 100% rename from doc/classes/VisualScript.xml rename to modules/visual_script/doc_classes/VisualScript.xml diff --git a/doc/classes/VisualScriptBasicTypeConstant.xml b/modules/visual_script/doc_classes/VisualScriptBasicTypeConstant.xml similarity index 100% rename from doc/classes/VisualScriptBasicTypeConstant.xml rename to modules/visual_script/doc_classes/VisualScriptBasicTypeConstant.xml diff --git a/doc/classes/VisualScriptBuiltinFunc.xml b/modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml similarity index 100% rename from doc/classes/VisualScriptBuiltinFunc.xml rename to modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml diff --git a/doc/classes/VisualScriptClassConstant.xml b/modules/visual_script/doc_classes/VisualScriptClassConstant.xml similarity index 100% rename from doc/classes/VisualScriptClassConstant.xml rename to modules/visual_script/doc_classes/VisualScriptClassConstant.xml diff --git a/doc/classes/VisualScriptComment.xml b/modules/visual_script/doc_classes/VisualScriptComment.xml similarity index 100% rename from doc/classes/VisualScriptComment.xml rename to modules/visual_script/doc_classes/VisualScriptComment.xml diff --git a/doc/classes/VisualScriptCondition.xml b/modules/visual_script/doc_classes/VisualScriptCondition.xml similarity index 100% rename from doc/classes/VisualScriptCondition.xml rename to modules/visual_script/doc_classes/VisualScriptCondition.xml diff --git a/doc/classes/VisualScriptConstant.xml b/modules/visual_script/doc_classes/VisualScriptConstant.xml similarity index 100% rename from doc/classes/VisualScriptConstant.xml rename to modules/visual_script/doc_classes/VisualScriptConstant.xml diff --git a/doc/classes/VisualScriptConstructor.xml b/modules/visual_script/doc_classes/VisualScriptConstructor.xml similarity index 100% rename from doc/classes/VisualScriptConstructor.xml rename to modules/visual_script/doc_classes/VisualScriptConstructor.xml diff --git a/doc/classes/VisualScriptCustomNode.xml b/modules/visual_script/doc_classes/VisualScriptCustomNode.xml similarity index 100% rename from doc/classes/VisualScriptCustomNode.xml rename to modules/visual_script/doc_classes/VisualScriptCustomNode.xml diff --git a/doc/classes/VisualScriptDeconstruct.xml b/modules/visual_script/doc_classes/VisualScriptDeconstruct.xml similarity index 100% rename from doc/classes/VisualScriptDeconstruct.xml rename to modules/visual_script/doc_classes/VisualScriptDeconstruct.xml diff --git a/doc/classes/VisualScriptEmitSignal.xml b/modules/visual_script/doc_classes/VisualScriptEmitSignal.xml similarity index 100% rename from doc/classes/VisualScriptEmitSignal.xml rename to modules/visual_script/doc_classes/VisualScriptEmitSignal.xml diff --git a/doc/classes/VisualScriptEngineSingleton.xml b/modules/visual_script/doc_classes/VisualScriptEngineSingleton.xml similarity index 100% rename from doc/classes/VisualScriptEngineSingleton.xml rename to modules/visual_script/doc_classes/VisualScriptEngineSingleton.xml diff --git a/doc/classes/VisualScriptExpression.xml b/modules/visual_script/doc_classes/VisualScriptExpression.xml similarity index 100% rename from doc/classes/VisualScriptExpression.xml rename to modules/visual_script/doc_classes/VisualScriptExpression.xml diff --git a/doc/classes/VisualScriptFunction.xml b/modules/visual_script/doc_classes/VisualScriptFunction.xml similarity index 100% rename from doc/classes/VisualScriptFunction.xml rename to modules/visual_script/doc_classes/VisualScriptFunction.xml diff --git a/doc/classes/VisualScriptFunctionCall.xml b/modules/visual_script/doc_classes/VisualScriptFunctionCall.xml similarity index 100% rename from doc/classes/VisualScriptFunctionCall.xml rename to modules/visual_script/doc_classes/VisualScriptFunctionCall.xml diff --git a/doc/classes/VisualScriptFunctionState.xml b/modules/visual_script/doc_classes/VisualScriptFunctionState.xml similarity index 100% rename from doc/classes/VisualScriptFunctionState.xml rename to modules/visual_script/doc_classes/VisualScriptFunctionState.xml diff --git a/doc/classes/VisualScriptGlobalConstant.xml b/modules/visual_script/doc_classes/VisualScriptGlobalConstant.xml similarity index 100% rename from doc/classes/VisualScriptGlobalConstant.xml rename to modules/visual_script/doc_classes/VisualScriptGlobalConstant.xml diff --git a/doc/classes/VisualScriptIndexGet.xml b/modules/visual_script/doc_classes/VisualScriptIndexGet.xml similarity index 100% rename from doc/classes/VisualScriptIndexGet.xml rename to modules/visual_script/doc_classes/VisualScriptIndexGet.xml diff --git a/doc/classes/VisualScriptIndexSet.xml b/modules/visual_script/doc_classes/VisualScriptIndexSet.xml similarity index 100% rename from doc/classes/VisualScriptIndexSet.xml rename to modules/visual_script/doc_classes/VisualScriptIndexSet.xml diff --git a/doc/classes/VisualScriptInputAction.xml b/modules/visual_script/doc_classes/VisualScriptInputAction.xml similarity index 100% rename from doc/classes/VisualScriptInputAction.xml rename to modules/visual_script/doc_classes/VisualScriptInputAction.xml diff --git a/doc/classes/VisualScriptIterator.xml b/modules/visual_script/doc_classes/VisualScriptIterator.xml similarity index 100% rename from doc/classes/VisualScriptIterator.xml rename to modules/visual_script/doc_classes/VisualScriptIterator.xml diff --git a/doc/classes/VisualScriptLocalVar.xml b/modules/visual_script/doc_classes/VisualScriptLocalVar.xml similarity index 100% rename from doc/classes/VisualScriptLocalVar.xml rename to modules/visual_script/doc_classes/VisualScriptLocalVar.xml diff --git a/doc/classes/VisualScriptLocalVarSet.xml b/modules/visual_script/doc_classes/VisualScriptLocalVarSet.xml similarity index 100% rename from doc/classes/VisualScriptLocalVarSet.xml rename to modules/visual_script/doc_classes/VisualScriptLocalVarSet.xml diff --git a/doc/classes/VisualScriptMathConstant.xml b/modules/visual_script/doc_classes/VisualScriptMathConstant.xml similarity index 100% rename from doc/classes/VisualScriptMathConstant.xml rename to modules/visual_script/doc_classes/VisualScriptMathConstant.xml diff --git a/doc/classes/VisualScriptNode.xml b/modules/visual_script/doc_classes/VisualScriptNode.xml similarity index 100% rename from doc/classes/VisualScriptNode.xml rename to modules/visual_script/doc_classes/VisualScriptNode.xml diff --git a/doc/classes/VisualScriptOperator.xml b/modules/visual_script/doc_classes/VisualScriptOperator.xml similarity index 100% rename from doc/classes/VisualScriptOperator.xml rename to modules/visual_script/doc_classes/VisualScriptOperator.xml diff --git a/doc/classes/VisualScriptPreload.xml b/modules/visual_script/doc_classes/VisualScriptPreload.xml similarity index 100% rename from doc/classes/VisualScriptPreload.xml rename to modules/visual_script/doc_classes/VisualScriptPreload.xml diff --git a/doc/classes/VisualScriptPropertyGet.xml b/modules/visual_script/doc_classes/VisualScriptPropertyGet.xml similarity index 100% rename from doc/classes/VisualScriptPropertyGet.xml rename to modules/visual_script/doc_classes/VisualScriptPropertyGet.xml diff --git a/doc/classes/VisualScriptPropertySet.xml b/modules/visual_script/doc_classes/VisualScriptPropertySet.xml similarity index 100% rename from doc/classes/VisualScriptPropertySet.xml rename to modules/visual_script/doc_classes/VisualScriptPropertySet.xml diff --git a/doc/classes/VisualScriptResourcePath.xml b/modules/visual_script/doc_classes/VisualScriptResourcePath.xml similarity index 100% rename from doc/classes/VisualScriptResourcePath.xml rename to modules/visual_script/doc_classes/VisualScriptResourcePath.xml diff --git a/doc/classes/VisualScriptReturn.xml b/modules/visual_script/doc_classes/VisualScriptReturn.xml similarity index 100% rename from doc/classes/VisualScriptReturn.xml rename to modules/visual_script/doc_classes/VisualScriptReturn.xml diff --git a/doc/classes/VisualScriptSceneNode.xml b/modules/visual_script/doc_classes/VisualScriptSceneNode.xml similarity index 100% rename from doc/classes/VisualScriptSceneNode.xml rename to modules/visual_script/doc_classes/VisualScriptSceneNode.xml diff --git a/doc/classes/VisualScriptSceneTree.xml b/modules/visual_script/doc_classes/VisualScriptSceneTree.xml similarity index 100% rename from doc/classes/VisualScriptSceneTree.xml rename to modules/visual_script/doc_classes/VisualScriptSceneTree.xml diff --git a/doc/classes/VisualScriptSelect.xml b/modules/visual_script/doc_classes/VisualScriptSelect.xml similarity index 100% rename from doc/classes/VisualScriptSelect.xml rename to modules/visual_script/doc_classes/VisualScriptSelect.xml diff --git a/doc/classes/VisualScriptSelf.xml b/modules/visual_script/doc_classes/VisualScriptSelf.xml similarity index 100% rename from doc/classes/VisualScriptSelf.xml rename to modules/visual_script/doc_classes/VisualScriptSelf.xml diff --git a/doc/classes/VisualScriptSequence.xml b/modules/visual_script/doc_classes/VisualScriptSequence.xml similarity index 100% rename from doc/classes/VisualScriptSequence.xml rename to modules/visual_script/doc_classes/VisualScriptSequence.xml diff --git a/doc/classes/VisualScriptSubCall.xml b/modules/visual_script/doc_classes/VisualScriptSubCall.xml similarity index 100% rename from doc/classes/VisualScriptSubCall.xml rename to modules/visual_script/doc_classes/VisualScriptSubCall.xml diff --git a/doc/classes/VisualScriptSwitch.xml b/modules/visual_script/doc_classes/VisualScriptSwitch.xml similarity index 100% rename from doc/classes/VisualScriptSwitch.xml rename to modules/visual_script/doc_classes/VisualScriptSwitch.xml diff --git a/doc/classes/VisualScriptTypeCast.xml b/modules/visual_script/doc_classes/VisualScriptTypeCast.xml similarity index 100% rename from doc/classes/VisualScriptTypeCast.xml rename to modules/visual_script/doc_classes/VisualScriptTypeCast.xml diff --git a/doc/classes/VisualScriptVariableGet.xml b/modules/visual_script/doc_classes/VisualScriptVariableGet.xml similarity index 100% rename from doc/classes/VisualScriptVariableGet.xml rename to modules/visual_script/doc_classes/VisualScriptVariableGet.xml diff --git a/doc/classes/VisualScriptVariableSet.xml b/modules/visual_script/doc_classes/VisualScriptVariableSet.xml similarity index 100% rename from doc/classes/VisualScriptVariableSet.xml rename to modules/visual_script/doc_classes/VisualScriptVariableSet.xml diff --git a/doc/classes/VisualScriptWhile.xml b/modules/visual_script/doc_classes/VisualScriptWhile.xml similarity index 100% rename from doc/classes/VisualScriptWhile.xml rename to modules/visual_script/doc_classes/VisualScriptWhile.xml diff --git a/doc/classes/VisualScriptYield.xml b/modules/visual_script/doc_classes/VisualScriptYield.xml similarity index 100% rename from doc/classes/VisualScriptYield.xml rename to modules/visual_script/doc_classes/VisualScriptYield.xml diff --git a/doc/classes/VisualScriptYieldSignal.xml b/modules/visual_script/doc_classes/VisualScriptYieldSignal.xml similarity index 100% rename from doc/classes/VisualScriptYieldSignal.xml rename to modules/visual_script/doc_classes/VisualScriptYieldSignal.xml diff --git a/modules/vorbis/config.py b/modules/vorbis/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/vorbis/config.py +++ b/modules/vorbis/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass diff --git a/modules/webm/config.py b/modules/webm/config.py index fb920482f5f..0374bb36f70 100644 --- a/modules/webm/config.py +++ b/modules/webm/config.py @@ -1,7 +1,14 @@ - def can_build(platform): return True - def configure(env): pass + +def get_doc_classes(): + return [ + "ResourceImporterWebm", + "VideoStreamWebm", + ] + +def get_doc_path(): + return "doc_classes" diff --git a/modules/webp/config.py b/modules/webp/config.py index fb920482f5f..5f133eba90f 100644 --- a/modules/webp/config.py +++ b/modules/webp/config.py @@ -1,7 +1,5 @@ - def can_build(platform): return True - def configure(env): pass