chore: add missing document_types

This commit is contained in:
abhishek 2021-10-05 20:26:18 +05:30
parent 547111841a
commit 0be59cee80

View file

@ -81,10 +81,29 @@ def get_doc_files(files, start_path):
files = files or []
# load in sequence - warning for devs
document_types = ['doctype', 'page', 'report', 'dashboard_chart_source', 'print_format',
'website_theme', 'web_form', 'web_template', 'notification', 'print_style',
'data_migration_mapping', 'data_migration_plan', 'workspace',
'onboarding_step', 'module_onboarding']
document_types = [
"doctype",
"page",
"report",
"dashboard_chart_source",
"print_format",
"web_page",
"website_theme",
"web_form",
"web_template",
"notification",
"print_style",
"data_migration_mapping",
"data_migration_plan",
"workspace",
"onboarding_step",
"module_onboarding",
"form_tour",
"client_script",
"server_script",
"custom_field",
"property_setter",
]
for doctype in document_types:
doctype_path = os.path.join(start_path, doctype)
if os.path.exists(doctype_path):
@ -95,4 +114,4 @@ def get_doc_files(files, start_path):
if not doc_path in files:
files.append(doc_path)
return files
return files