How to custom doctype in Link Cards of core Modules

This helped me to resolve this problem
https://docs.erpnext.com/docs/v13/user/manual/en/customize-erpnext/desk-page