Skip to content

Commit 2458945

Browse files
committed
Added icon in docs
1 parent 6f3a608 commit 2458945

File tree

10 files changed

+10
-0
lines changed

10 files changed

+10
-0
lines changed

futures/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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(html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg")]
45
#![deny(missing_docs)]
56
#![deny(missing_debug_implementations)]
67
#![deny(unused_results)]

glow/src/lib.rs

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

glutin/src/lib.rs

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

graphics/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
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(html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg")]
78
#![deny(missing_docs)]
89
#![deny(missing_debug_implementations)]
910
#![deny(unused_results)]

native/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
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(html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg")]
3132
#![deny(missing_docs)]
3233
#![deny(missing_debug_implementations)]
3334
#![deny(unused_results)]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@
171171
//!
172172
//! [Elm]: https://elm-lang.org/
173173
//! [The Elm Architecture]: https://guide.elm-lang.org/architecture/
174+
#![doc(html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg")]
174175
#![deny(missing_docs)]
175176
#![deny(missing_debug_implementations)]
176177
#![deny(unused_results)]

style/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
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(html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg")]
78
pub use iced_core::{Background, Color};
89

910
pub mod button;

web/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
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(html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg")]
5354
#![deny(missing_docs)]
5455
#![deny(missing_debug_implementations)]
5556
#![deny(unused_results)]

wgpu/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
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(html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg")]
2324
#![deny(missing_docs)]
2425
#![deny(missing_debug_implementations)]
2526
#![deny(unused_results)]

winit/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
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(html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/master/docs/logo.svg")]
1718
#![deny(missing_docs)]
1819
#![deny(missing_debug_implementations)]
1920
#![deny(unused_results)]

0 commit comments

Comments
 (0)