浏览代码

src/lib.rs: add link to icon / favicon for doc, and also create favicon

Quentin Monnet 8 年之前
父节点
当前提交
f6ccfc2488
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 二进制
      misc/rbpf.ico
  2. 3 0
      src/lib.rs

二进制
misc/rbpf.ico


+ 3 - 0
src/lib.rs

@@ -9,6 +9,9 @@
 // copied, modified, or distributed except according to those terms.
 
 
+#![doc(html_logo_url = "https://raw.githubusercontent.com/qmonnet/rbpf/master/rbpf.png",
+       html_favicon_url = "https://raw.githubusercontent.com/qmonnet/rbpf/master/rbpf.ico")]
+
 // One day we'll uncomment this!
 // #![warn(missing_docs)]