aboutsummaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorRémi Verschelde2017-11-15 19:23:20 +0100
committerRémi Verschelde2017-11-15 21:29:33 +0100
commit677e95d8d189a62e6473b43989012a8258f193a4 (patch)
treea68e77b5d7bd8a319131e632da91f6b86acf7768 /modules/gdnative
parente7701bb2de30c554f52dc9d3f0110b4001ae18ad (diff)
downloadgodot-677e95d8d189a62e6473b43989012a8258f193a4.tar.gz
godot-677e95d8d189a62e6473b43989012a8258f193a4.tar.zst
godot-677e95d8d189a62e6473b43989012a8258f193a4.zip
doc: Make all module docs self-contained
Diffstat (limited to 'modules/gdnative')
-rw-r--r--modules/gdnative/config.py11
-rw-r--r--modules/gdnative/doc_classes/PluginScript.xml15
2 files changed, 23 insertions, 3 deletions
diff --git a/modules/gdnative/config.py b/modules/gdnative/config.py
index df3556249..68148c4d8 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/modules/gdnative/doc_classes/PluginScript.xml b/modules/gdnative/doc_classes/PluginScript.xml
new file mode 100644
index 000000000..a5ab422d3
--- /dev/null
+++ b/modules/gdnative/doc_classes/PluginScript.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="PluginScript" inherits="Script" category="Core" version="3.0-alpha">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <tutorials>
+ </tutorials>
+ <demos>
+ </demos>
+ <methods>
+ </methods>
+ <constants>
+ </constants>
+</class>