]> Untitled Git - bdk/commitdiff
Add a custom logo to our docs
authorAlekos Filini <alekos.filini@gmail.com>
Thu, 23 Dec 2021 10:36:49 +0000 (11:36 +0100)
committerAlekos Filini <alekos.filini@gmail.com>
Thu, 23 Dec 2021 10:37:41 +0000 (11:37 +0100)
As suggested in #497, add our logo to the docs as well

src/lib.rs

index 0d99a5f1c35605bd3ed783caeb6c2a73aed1b2d0..3ab53907c1b452219fea5302cb41c41f8fbcf688 100644 (file)
 // 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.
 //!