'Copy docs/user and docs/assets to the target app'

def copy_user_assets(self):

    print(u'Copying    docs/user    and    docs/assets...')
    shutil.rmtree(os.path.join(self.docs_path, u'user'), ignore_errors=True)
    shutil.rmtree(os.path.join(self.docs_path, u'assets'), ignore_errors=True)
    shutil.copytree(os.path.join(self.app_path, u'docs', u'user'), os.path.join(self.docs_path, u'user'))
    shutil.copytree(os.path.join(self.app_path, u'docs', u'assets'), frappe.get_app_path(self.target_app, u'www', u'docs', u'assets'))
    shutil.copy(os.path.join(self.app_path, u'docs', u'index.md'), frappe.get_app_path(self.target_app, u'www', u'docs'))
