def make_route(doc):
	parent = doc.get("parent_website_route", "")
	return ((parent + "/") if parent else "") + doc.page_name
dataset/ETHPy150Open frappe/frappe/frappe/website/website_generator.py/make_route/original