From ac35fe3edf78c1674fe85b37549002e006b0ff13 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 30 Apr 2022 13:54:07 +0200 Subject: Point repository links to `0.4` branch in documentation --- core/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src') diff --git a/core/src/lib.rs b/core/src/lib.rs index 3eb9f659..318d4032 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -7,8 +7,8 @@ //! ![The foundations of the Iced ecosystem](https://github.com/iced-rs/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true) //! //! [Iced]: https://github.com/iced-rs/iced -//! [`iced_native`]: https://github.com/iced-rs/iced/tree/master/native -//! [`iced_web`]: https://github.com/iced-rs/iced/tree/master/web +//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.4/native +//! [`iced_web`]: https://github.com/iced-rs/iced/tree/0.4/web #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] -- cgit From 68e9eb0a9b45b86713ce5d0e9c2273a60f2cc11c Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 30 Apr 2022 14:20:52 +0200 Subject: Fix broken intra-doc links in documentation --- core/src/keyboard/modifiers.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core/src') diff --git a/core/src/keyboard/modifiers.rs b/core/src/keyboard/modifiers.rs index e61f145a..ff5b08f2 100644 --- a/core/src/keyboard/modifiers.rs +++ b/core/src/keyboard/modifiers.rs @@ -41,21 +41,29 @@ impl Modifiers { }; /// Returns true if the [`SHIFT`] key is pressed in the [`Modifiers`]. + /// + /// [`SHIFT`]: Self::SHIFT pub fn shift(self) -> bool { self.contains(Self::SHIFT) } /// Returns true if the [`CTRL`] key is pressed in the [`Modifiers`]. + /// + /// [`CTRL`]: Self::CTRL pub fn control(self) -> bool { self.contains(Self::CTRL) } /// Returns true if the [`ALT`] key is pressed in the [`Modifiers`]. + /// + /// [`ALT`]: Self::ALT pub fn alt(self) -> bool { self.contains(Self::ALT) } /// Returns true if the [`LOGO`] key is pressed in the [`Modifiers`]. + /// + /// [`LOGO`]: Self::LOGO pub fn logo(self) -> bool { self.contains(Self::LOGO) } -- cgit From aecbd46123eb556fa1193cdf3b9eb96cfd4beff2 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 2 May 2022 20:25:47 +0200 Subject: Replace `hecrj` in links with `iced-rs` --- core/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src') diff --git a/core/src/lib.rs b/core/src/lib.rs index 318d4032..dc340d3a 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -8,7 +8,7 @@ //! //! [Iced]: https://github.com/iced-rs/iced //! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.4/native -//! [`iced_web`]: https://github.com/iced-rs/iced/tree/0.4/web +//! [`iced_web`]: https://github.com/iced-rs/iced_web #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] -- cgit From 6fe6daa64f6a549493f641d035d5aa2eed3c58c9 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 2 May 2022 20:33:10 +0200 Subject: Add `html_logo_url` to `iced_core` and `iced_lazy` --- core/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/src') diff --git a/core/src/lib.rs b/core/src/lib.rs index dc340d3a..7b0dc57b 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -9,6 +9,9 @@ //! [Iced]: https://github.com/iced-rs/iced //! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.4/native //! [`iced_web`]: https://github.com/iced-rs/iced_web +#![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)] -- cgit