aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJuan Linietsky2017-09-12 17:42:36 -0300
committerJuan Linietsky2017-09-12 17:45:41 -0300
commit4f929a0fdfae24b1ca5acf0b732219119090ee43 (patch)
tree730471182cae00f2e47c7430db441d057383d29b /SConstruct
parent175777596ec3521731665dd750fd7087793b10fc (diff)
downloadgodot-4f929a0fdfae24b1ca5acf0b732219119090ee43.tar.gz
godot-4f929a0fdfae24b1ca5acf0b732219119090ee43.tar.zst
godot-4f929a0fdfae24b1ca5acf0b732219119090ee43.zip
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 10 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 9a3ee03ed..70e77cb47 100644
--- a/SConstruct
+++ b/SConstruct
@@ -352,6 +352,7 @@ if selected_platform in platform_list:
sys.modules.pop('detect')
env.module_list = []
+ env.doc_class_path={}
for x in module_list:
if env['module_' + x + '_enabled'] != "yes":
@@ -363,6 +364,15 @@ if selected_platform in platform_list:
if (config.can_build(selected_platform)):
config.configure(env)
env.module_list.append(x)
+ try:
+ doc_classes = config.get_doc_classes()
+ doc_path = config.get_doc_path()
+ for c in doc_classes:
+ env.doc_class_path[c]="modules/"+x+"/"+doc_path
+ except:
+ pass
+
+
sys.path.remove(tmppath)
sys.modules.pop('config')