summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-12-09 15:43:20 +0700
committerLibravatar GitHub <noreply@github.com>2021-12-09 15:43:20 +0700
commitc2eb9d7fbce06e107b315cab9c6d3dfc164c80a1 (patch)
tree9a394da1aab9b32db2ceb4cf2cbc01766397aa23
parentaa96a0a84dfd95a2aee6d573f9baa04782ba0fe6 (diff)
parent998a04645ddc3550c4a65624019078c9ef32dede (diff)
downloadiced-c2eb9d7fbce06e107b315cab9c6d3dfc164c80a1.tar.gz
iced-c2eb9d7fbce06e107b315cab9c6d3dfc164c80a1.tar.bz2
iced-c2eb9d7fbce06e107b315cab9c6d3dfc164c80a1.zip
Merge pull request #1147 from daladim/icon_in_docs
Added icon in docs
Diffstat (limited to '')
-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..92c4b3d3 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/9ab6923e943f784985e9ef9ca28b10278297225d/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..362933d4 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/9ab6923e943f784985e9ef9ca28b10278297225d/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..a57acf84 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/9ab6923e943f784985e9ef9ca28b10278297225d/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..b3be62af 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/9ab6923e943f784985e9ef9ca28b10278297225d/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..950454ce 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/9ab6923e943f784985e9ef9ca28b10278297225d/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..1ca07e80 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/9ab6923e943f784985e9ef9ca28b10278297225d/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..fb94ac43 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/9ab6923e943f784985e9ef9ca28b10278297225d/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..70dc087e 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/9ab6923e943f784985e9ef9ca28b10278297225d/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..d7b630d6 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/9ab6923e943f784985e9ef9ca28b10278297225d/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..b31adf6e 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/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
+)]
#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(unused_results)]