From 7a1112035022407ba36e0a4082bda8c3e455cf2f Mon Sep 17 00:00:00 2001 From: Michael Morgan Date: Fri, 19 Oct 2018 18:34:32 -0500 Subject: [PATCH] Add logo to HTML documentation in other crates (#1081) --- vk-sys/src/lib.rs | 2 ++ vulkano-shaders/src/lib.rs | 2 ++ vulkano-win/src/lib.rs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/vk-sys/src/lib.rs b/vk-sys/src/lib.rs index 3c8434d8..357aab55 100644 --- a/vk-sys/src/lib.rs +++ b/vk-sys/src/lib.rs @@ -7,6 +7,8 @@ // notice may not be copied, modified, or distributed except // according to those terms. +#![doc(html_logo_url = "https://raw.githubusercontent.com/vulkano-rs/vulkano/master/logo.png")] + #![allow(non_upper_case_globals)] #![allow(non_snake_case)] #![allow(non_camel_case_types)] diff --git a/vulkano-shaders/src/lib.rs b/vulkano-shaders/src/lib.rs index 596a6d12..6d717afa 100644 --- a/vulkano-shaders/src/lib.rs +++ b/vulkano-shaders/src/lib.rs @@ -7,6 +7,8 @@ // notice may not be copied, modified, or distributed except // according to those terms. +#![doc(html_logo_url = "https://raw.githubusercontent.com/vulkano-rs/vulkano/master/logo.png")] + #![recursion_limit = "1024"] #[macro_use] extern crate quote; extern crate shaderc; diff --git a/vulkano-win/src/lib.rs b/vulkano-win/src/lib.rs index 276fc9ae..aa676ee7 100644 --- a/vulkano-win/src/lib.rs +++ b/vulkano-win/src/lib.rs @@ -1,3 +1,5 @@ +#![doc(html_logo_url = "https://raw.githubusercontent.com/vulkano-rs/vulkano/master/logo.png")] + extern crate vulkano; extern crate winit;