Add dictiories path to doctrenderer.config

This commit is contained in:
Oleg Korshul
2023-09-16 18:42:06 +03:00
parent 88423908f2
commit bd167f6258
7 changed files with 13 additions and 7 deletions

View File

@ -787,7 +787,7 @@ def app_make():
return "make"
# doctrenderer.config
def generate_doctrenderer_config(path, root, product, vendor = ""):
def generate_doctrenderer_config(path, root, product, vendor = "", dictionaries = ""):
content = "<Settings>\n"
content += ("<file>" + root + "sdkjs/common/Native/native.js</file>\n")
@ -806,6 +806,9 @@ def generate_doctrenderer_config(path, root, product, vendor = ""):
content += ("<file>" + vendor_dir + "xregexp/xregexp-all-min.js</file>\n")
content += ("<sdkjs>" + root + "sdkjs</sdkjs>\n")
if ("" != dictionaries):
content += ("<dictionaries>" + dictionaries + "</dictionaries>")
if (False): # old html file
content += ("<htmlfile>" + vendor_dir + "jquery/jquery.min.js</htmlfile>\n")
if ("desktop" == product):