From d72b1493e0f6e96a1f129e6a7cac7674ee40d4e8 Mon Sep 17 00:00:00 2001 From: daladim <daladim@users.noreply.github.com> Date: Wed, 8 Dec 2021 08:04:46 +0100 Subject: Added icon in docs --- futures/src/lib.rs | 3 +++ glow/src/lib.rs | 3 +++ glutin/src/lib.rs | 3 +++ graphics/src/lib.rs | 3 +++ native/src/lib.rs | 3 +++ src/lib.rs | 3 +++ style/src/lib.rs | 3 +++ web/src/lib.rs | 3 +++ wgpu/src/lib.rs | 3 +++ winit/src/lib.rs | 3 +++ 10 files changed, 30 insertions(+) diff --git a/futures/src/lib.rs b/futures/src/lib.rs index ba7c558b..e4e89aed 100644 --- a/futures/src/lib.rs +++ b/futures/src/lib.rs @@ -1,6 +1,9 @@ //! Asynchronous tasks for GUI programming, inspired by Elm. //! //!  +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] diff --git a/glow/src/lib.rs b/glow/src/lib.rs index c531169b..1371790f 100644 --- a/glow/src/lib.rs +++ b/glow/src/lib.rs @@ -4,6 +4,9 @@ //! //! [`glow`]: https://github.com/grovesNL/glow //! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] diff --git a/glutin/src/lib.rs b/glutin/src/lib.rs index 7c0c00ca..7d5779a6 100644 --- a/glutin/src/lib.rs +++ b/glutin/src/lib.rs @@ -4,6 +4,9 @@ //! //! [`iced`]: https://github.com/hecrj/iced //! [`glutin`]: https://github.com/rust-windowing/glutin +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs index 5b8defc5..e0d8b6fc 100644 --- a/graphics/src/lib.rs +++ b/graphics/src/lib.rs @@ -4,6 +4,9 @@ //!  //! //! [`iced`]: https://github.com/hecrj/iced +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] diff --git a/native/src/lib.rs b/native/src/lib.rs index f340ec14..8905dd5f 100644 --- a/native/src/lib.rs +++ b/native/src/lib.rs @@ -28,6 +28,9 @@ //! [`druid`]: https://github.com/xi-editor/druid //! [`raw-window-handle`]: https://github.com/rust-windowing/raw-window-handle //! [renderer]: crate::renderer +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] diff --git a/src/lib.rs b/src/lib.rs index 0020ed87..31cbeaef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -171,6 +171,9 @@ //! //! [Elm]: https://elm-lang.org/ //! [The Elm Architecture]: https://guide.elm-lang.org/architecture/ +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] diff --git a/style/src/lib.rs b/style/src/lib.rs index 08d9f044..7a496f5f 100644 --- a/style/src/lib.rs +++ b/style/src/lib.rs @@ -4,6 +4,9 @@ //! widgets. //! //!  +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] pub use iced_core::{Background, Color}; pub mod button; diff --git a/web/src/lib.rs b/web/src/lib.rs index 4679b457..8a8198dc 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -50,6 +50,9 @@ //! [`wasm-pack`]: https://github.com/rustwasm/wasm-pack //! [`wasm-bindgen`]: https://github.com/rustwasm/wasm-bindgen //! [`tour` example]: https://github.com/hecrj/iced/tree/0.3/examples/tour +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index ed99b126..3a8c3bed 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -20,6 +20,9 @@ //! [`wgpu`]: https://github.com/gfx-rs/wgpu-rs //! [WebGPU API]: https://gpuweb.github.io/gpuweb/ //! [`wgpu_glyph`]: https://github.com/hecrj/wgpu_glyph +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] diff --git a/winit/src/lib.rs b/winit/src/lib.rs index 30813152..f1b9c71c 100644 --- a/winit/src/lib.rs +++ b/winit/src/lib.rs @@ -14,6 +14,9 @@ //! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native //! [`winit`]: https://github.com/rust-windowing/winit //! [`conversion`]: crate::conversion +#![doc( + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" +)] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] -- cgit From 998a04645ddc3550c4a65624019078c9ef32dede Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez <hector0193@gmail.com> Date: Thu, 9 Dec 2021 15:10:38 +0700 Subject: Use commit hash in `html_logo_url` --- futures/src/lib.rs | 2 +- glow/src/lib.rs | 2 +- glutin/src/lib.rs | 2 +- graphics/src/lib.rs | 2 +- native/src/lib.rs | 2 +- src/lib.rs | 2 +- style/src/lib.rs | 2 +- web/src/lib.rs | 2 +- wgpu/src/lib.rs | 2 +- winit/src/lib.rs | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/futures/src/lib.rs b/futures/src/lib.rs index e4e89aed..92c4b3d3 100644 --- a/futures/src/lib.rs +++ b/futures/src/lib.rs @@ -2,7 +2,7 @@ //! //!  #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)] diff --git a/glow/src/lib.rs b/glow/src/lib.rs index 1371790f..362933d4 100644 --- a/glow/src/lib.rs +++ b/glow/src/lib.rs @@ -5,7 +5,7 @@ //! [`glow`]: https://github.com/grovesNL/glow //! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)] diff --git a/glutin/src/lib.rs b/glutin/src/lib.rs index 7d5779a6..a57acf84 100644 --- a/glutin/src/lib.rs +++ b/glutin/src/lib.rs @@ -5,7 +5,7 @@ //! [`iced`]: https://github.com/hecrj/iced //! [`glutin`]: https://github.com/rust-windowing/glutin #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)] diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs index e0d8b6fc..b3be62af 100644 --- a/graphics/src/lib.rs +++ b/graphics/src/lib.rs @@ -5,7 +5,7 @@ //! //! [`iced`]: https://github.com/hecrj/iced #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)] diff --git a/native/src/lib.rs b/native/src/lib.rs index 8905dd5f..950454ce 100644 --- a/native/src/lib.rs +++ b/native/src/lib.rs @@ -29,7 +29,7 @@ //! [`raw-window-handle`]: https://github.com/rust-windowing/raw-window-handle //! [renderer]: crate::renderer #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)] diff --git a/src/lib.rs b/src/lib.rs index 31cbeaef..1ca07e80 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -172,7 +172,7 @@ //! [Elm]: https://elm-lang.org/ //! [The Elm Architecture]: https://guide.elm-lang.org/architecture/ #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)] diff --git a/style/src/lib.rs b/style/src/lib.rs index 7a496f5f..fb94ac43 100644 --- a/style/src/lib.rs +++ b/style/src/lib.rs @@ -5,7 +5,7 @@ //! //!  #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] pub use iced_core::{Background, Color}; diff --git a/web/src/lib.rs b/web/src/lib.rs index 8a8198dc..70dc087e 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -51,7 +51,7 @@ //! [`wasm-bindgen`]: https://github.com/rustwasm/wasm-bindgen //! [`tour` example]: https://github.com/hecrj/iced/tree/0.3/examples/tour #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)] diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 3a8c3bed..d7b630d6 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -21,7 +21,7 @@ //! [WebGPU API]: https://gpuweb.github.io/gpuweb/ //! [`wgpu_glyph`]: https://github.com/hecrj/wgpu_glyph #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)] diff --git a/winit/src/lib.rs b/winit/src/lib.rs index f1b9c71c..b31adf6e 100644 --- a/winit/src/lib.rs +++ b/winit/src/lib.rs @@ -15,7 +15,7 @@ //! [`winit`]: https://github.com/rust-windowing/winit //! [`conversion`]: crate::conversion #![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg" + html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)] -- cgit