How to add document link in Email Template

Here it is : {{frappe.utils.get_url_to_form(doc.doctype, doc.name)}