Skip to content

Commit d72b149

Browse files
daladimhecrj
authored andcommitted
Added icon in docs
1 parent 6f3a608 commit d72b149

File tree

10 files changed

+30
-0
lines changed

10 files changed

+30
-0
lines changed

futures/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
//! Asynchronous tasks for GUI programming, inspired by Elm.
22
//!
33
//! ![The foundations of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true)
4+
#![doc(
5+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
6+
)]
47
#![deny(missing_docs)]
58
#![deny(missing_debug_implementations)]
69
#![deny(unused_results)]

glow/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
//!
55
//! [`glow`]: https://github.com/grovesNL/glow
66
//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native
7+
#![doc(
8+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
9+
)]
710
#![deny(missing_docs)]
811
#![deny(missing_debug_implementations)]
912
#![deny(unused_results)]

glutin/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
//!
55
//! [`iced`]: https://github.com/hecrj/iced
66
//! [`glutin`]: https://github.com/rust-windowing/glutin
7+
#![doc(
8+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
9+
)]
710
#![deny(missing_docs)]
811
#![deny(missing_debug_implementations)]
912
#![deny(unused_results)]

graphics/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
//! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
55
//!
66
//! [`iced`]: https://github.com/hecrj/iced
7+
#![doc(
8+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
9+
)]
710
#![deny(missing_docs)]
811
#![deny(missing_debug_implementations)]
912
#![deny(unused_results)]

native/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
//! [`druid`]: https://github.com/xi-editor/druid
2929
//! [`raw-window-handle`]: https://github.com/rust-windowing/raw-window-handle
3030
//! [renderer]: crate::renderer
31+
#![doc(
32+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
33+
)]
3134
#![deny(missing_docs)]
3235
#![deny(missing_debug_implementations)]
3336
#![deny(unused_results)]

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@
171171
//!
172172
//! [Elm]: https://elm-lang.org/
173173
//! [The Elm Architecture]: https://guide.elm-lang.org/architecture/
174+
#![doc(
175+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
176+
)]
174177
#![deny(missing_docs)]
175178
#![deny(missing_debug_implementations)]
176179
#![deny(unused_results)]

style/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
//! widgets.
55
//!
66
//! ![The foundations of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true)
7+
#![doc(
8+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
9+
)]
710
pub use iced_core::{Background, Color};
811

912
pub mod button;

web/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
//! [`wasm-pack`]: https://github.com/rustwasm/wasm-pack
5151
//! [`wasm-bindgen`]: https://github.com/rustwasm/wasm-bindgen
5252
//! [`tour` example]: https://github.com/hecrj/iced/tree/0.3/examples/tour
53+
#![doc(
54+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
55+
)]
5356
#![deny(missing_docs)]
5457
#![deny(missing_debug_implementations)]
5558
#![deny(unused_results)]

wgpu/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
//! [`wgpu`]: https://github.com/gfx-rs/wgpu-rs
2121
//! [WebGPU API]: https://gpuweb.github.io/gpuweb/
2222
//! [`wgpu_glyph`]: https://github.com/hecrj/wgpu_glyph
23+
#![doc(
24+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
25+
)]
2326
#![deny(missing_docs)]
2427
#![deny(missing_debug_implementations)]
2528
#![deny(unused_results)]

winit/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native
1515
//! [`winit`]: https://github.com/rust-windowing/winit
1616
//! [`conversion`]: crate::conversion
17+
#![doc(
18+
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg"
19+
)]
1720
#![deny(missing_docs)]
1821
#![deny(missing_debug_implementations)]
1922
#![deny(unused_results)]

0 commit comments

Comments
 (0)