def get_all_page_context_from_doctypes():
 routes = frappe.cache().get_value(u'website_generator_routes')
 if (not routes):
  routes = get_page_info_from_doctypes()
  frappe.cache().set_value(u'website_generator_routes', routes)
 return routes

def get_all_page_context_from_doctypes ( ) : routes = frappe . cache ( ) . get_value ( u'website_generator_routes' ) if ( not routes ) : routes = get_page_info_from_doctypes ( ) frappe . cache ( ) . set_value ( u'website_generator_routes' , routes ) return routes
get all doctype generated routes .