I'd like to set a custom icon, that replaces the default "R in a gear" icon that appears at the top-left of doc.rs.
What is the option to override the default icon?
I'd like to set a custom icon, that replaces the default "R in a gear" icon that appears at the top-left of doc.rs.
What is the option to override the default icon?
You can use #![doc(html_logo_url = "https://website.com/url/to/logo.png")]
. If you don't have a website to host it on, you can use https://raw.githubusercontent.com
to refer to a logo inside your repo.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.