def sync_docs(self):
		frappe.db.sql("delete from `tabWeb Page`")
		sync = frappe.website.statics.sync()
		sync.start(path="docs", rebuild=True, apps = [self.app])
Sync docs from /docs folder to **Web Page**.
dataset/ETHPy150Open frappe/frappe/frappe/utils/setup_docs.py/setup_docs.sync_docs