diff --git a/frappe/utils/help.py b/frappe/utils/help.py index 820da0f5c3..1c90161e8f 100644 --- a/frappe/utils/help.py +++ b/frappe/utils/help.py @@ -102,7 +102,9 @@ class HelpDatabase(object): def sync_pages(self): self.db.sql('truncate help') doc_contents = '
    ' - for app in frappe.get_installed_apps(): + apps = os.listdir('../apps') if self.global_help_setup else frappe.get_installed_apps() + + for app in apps: docs_folder = '../apps/{app}/{app}/docs/user'.format(app=app) self.out_base_path = '../apps/{app}/{app}/docs'.format(app=app) if os.path.exists(docs_folder):