From e09aaf055ac6a60d0e5242f7b39c85ff980316ac Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Thu, 23 Dec 2021 11:36:49 +0100 Subject: [PATCH] Add a custom logo to our docs As suggested in #497, add our logo to the docs as well --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 0d99a5f1..3ab53907 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,6 +14,10 @@ // only enables the `doc_cfg` feature when // the `docsrs` configuration attribute is defined #![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr( + docsrs, + doc(html_logo_url = "https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png") +)] //! A modern, lightweight, descriptor-based wallet library written in Rust. //!