doc: Make all module docs self-contained

This commit is contained in:
Rémi Verschelde 2017-11-15 19:23:20 +01:00
parent e7701bb2de
commit 677e95d8d1
84 changed files with 142 additions and 68 deletions

View file

@ -4,3 +4,11 @@ def can_build(platform):
def configure(env):
pass
def get_doc_classes():
return [
"BulletPhysicsDirectBodyState",
"BulletPhysicsServer",
]
def get_doc_path():
return "doc_classes"

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -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"

View file

@ -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

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -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"

View file

@ -177,7 +177,11 @@ def configure(env):
def get_doc_classes():
return ["@C#", "CSharpScript", "GodotSharp"]
return [
"@C#",
"CSharpScript",
"GodotSharp",
]
def get_doc_path():

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -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"

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -1,7 +1,5 @@
def can_build(platform):
return platform != "android"
def configure(env):
pass

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass

View file

@ -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"

View file

@ -1,7 +1,5 @@
def can_build(platform):
return True
def configure(env):
pass