summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar daladim <daladim@users.noreply.github.com>2021-12-08 08:04:46 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-12-09 15:05:41 +0700
commitd72b1493e0f6e96a1f129e6a7cac7674ee40d4e8 (patch)
treea165beda9f8b6685b7234f65b795171ccaaec104
parent6f3a608717e08330187871516b1ab54a9a2192a3 (diff)
downloadiced-d72b1493e0f6e96a1f129e6a7cac7674ee40d4e8.tar.gz
iced-d72b1493e0f6e96a1f129e6a7cac7674ee40d4e8.tar.bz2
iced-d72b1493e0f6e96a1f129e6a7cac7674ee40d4e8.zip
Added icon in docs
-rw-r--r--futures/src/lib.rs3
-rw-r--r--glow/src/lib.rs3
-rw-r--r--glutin/src/lib.rs3
-rw-r--r--graphics/src/lib.rs3
-rw-r--r--native/src/lib.rs3
-rw-r--r--src/lib.rs3
-rw-r--r--style/src/lib.rs3
-rw-r--r--web/src/lib.rs3
-rw-r--r--wgpu/src/lib.rs3
-rw-r--r--winit/src/lib.rs3
10 files changed, 30 insertions, 0 deletions
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.
//!
//! ![The foundations of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true)
+#![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 @@
//! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
//!
//! [`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.
//!
//! ![The foundations of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true)
+#![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)]