From ac35fe3edf78c1674fe85b37549002e006b0ff13 Mon Sep 17 00:00:00 2001
From: Héctor Ramón Jiménez <hector0193@gmail.com>
Date: Sat, 30 Apr 2022 13:54:07 +0200
Subject: Point repository links to `0.4` branch in documentation

---
 src/application.rs | 18 +++++++++---------
 src/lib.rs         | 10 +++++-----
 src/pure/widget.rs |  2 +-
 src/sandbox.rs     | 22 +++++++++++-----------
 src/widget.rs      |  2 +-
 5 files changed, 27 insertions(+), 27 deletions(-)

(limited to 'src')

diff --git a/src/application.rs b/src/application.rs
index 14a16d61..c5434c24 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -37,15 +37,15 @@ use crate::{Color, Command, Element, Executor, Settings, Subscription};
 /// to listen to time.
 /// - [`todos`], a todos tracker inspired by [TodoMVC].
 ///
-/// [The repository has a bunch of examples]: https://github.com/hecrj/iced/tree/0.3/examples
-/// [`clock`]: https://github.com/hecrj/iced/tree/0.3/examples/clock
-/// [`download_progress`]: https://github.com/hecrj/iced/tree/0.3/examples/download_progress
-/// [`events`]: https://github.com/hecrj/iced/tree/0.3/examples/events
-/// [`game_of_life`]: https://github.com/hecrj/iced/tree/0.3/examples/game_of_life
-/// [`pokedex`]: https://github.com/hecrj/iced/tree/0.3/examples/pokedex
-/// [`solar_system`]: https://github.com/hecrj/iced/tree/0.3/examples/solar_system
-/// [`stopwatch`]: https://github.com/hecrj/iced/tree/0.3/examples/stopwatch
-/// [`todos`]: https://github.com/hecrj/iced/tree/0.3/examples/todos
+/// [The repository has a bunch of examples]: https://github.com/hecrj/iced/tree/0.4/examples
+/// [`clock`]: https://github.com/hecrj/iced/tree/0.4/examples/clock
+/// [`download_progress`]: https://github.com/hecrj/iced/tree/0.4/examples/download_progress
+/// [`events`]: https://github.com/hecrj/iced/tree/0.4/examples/events
+/// [`game_of_life`]: https://github.com/hecrj/iced/tree/0.4/examples/game_of_life
+/// [`pokedex`]: https://github.com/hecrj/iced/tree/0.4/examples/pokedex
+/// [`solar_system`]: https://github.com/hecrj/iced/tree/0.4/examples/solar_system
+/// [`stopwatch`]: https://github.com/hecrj/iced/tree/0.4/examples/stopwatch
+/// [`todos`]: https://github.com/hecrj/iced/tree/0.4/examples/todos
 /// [`Sandbox`]: crate::Sandbox
 /// [`Canvas`]: crate::widget::Canvas
 /// [PokéAPI]: https://pokeapi.co/
diff --git a/src/lib.rs b/src/lib.rs
index 84e872c7..e407b10d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -24,13 +24,13 @@
 //! [scrollables]: https://gfycat.com/perkybaggybaboon-rust-gui
 //! [Debug overlay with performance metrics]: https://gfycat.com/incredibledarlingbee
 //! [Modular ecosystem]: https://github.com/hecrj/iced/blob/master/ECOSYSTEM.md
-//! [renderer-agnostic native runtime]: https://github.com/hecrj/iced/tree/master/native
+//! [renderer-agnostic native runtime]: https://github.com/hecrj/iced/0.4/master/native
 //! [`wgpu`]: https://github.com/gfx-rs/wgpu-rs
-//! [built-in renderer]: https://github.com/hecrj/iced/tree/master/wgpu
-//! [windowing shell]: https://github.com/hecrj/iced/tree/master/winit
+//! [built-in renderer]: https://github.com/hecrj/iced/tree/0.4/wgpu
+//! [windowing shell]: https://github.com/hecrj/iced/tree/0.4/winit
 //! [`dodrio`]: https://github.com/fitzgen/dodrio
-//! [web runtime]: https://github.com/hecrj/iced/tree/master/web
-//! [examples]: https://github.com/hecrj/iced/tree/0.3/examples
+//! [web runtime]: https://github.com/hecrj/iced/tree/0.4/web
+//! [examples]: https://github.com/hecrj/iced/tree/0.4/examples
 //! [repository]: https://github.com/hecrj/iced
 //!
 //! # Overview
diff --git a/src/pure/widget.rs b/src/pure/widget.rs
index 2a506f73..c84edde3 100644
--- a/src/pure/widget.rs
+++ b/src/pure/widget.rs
@@ -47,7 +47,7 @@ pub mod pane_grid {
     //! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing,
     //! drag and drop, and hotkey support.
     //!
-    //! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.3/examples/pane_grid
+    //! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.4/examples/pane_grid
     pub use iced_pure::widget::pane_grid::{
         Axis, Configuration, Direction, DragEvent, Line, Node, Pane,
         ResizeEvent, Split, State, StyleSheet,
diff --git a/src/sandbox.rs b/src/sandbox.rs
index 2306c650..177c43f9 100644
--- a/src/sandbox.rs
+++ b/src/sandbox.rs
@@ -35,19 +35,19 @@ use crate::{
 /// - [`tour`], a simple UI tour that can run both on native platforms and the
 /// web!
 ///
-/// [The repository has a bunch of examples]: https://github.com/hecrj/iced/tree/0.3/examples
-/// [`bezier_tool`]: https://github.com/hecrj/iced/tree/0.3/examples/bezier_tool
-/// [`counter`]: https://github.com/hecrj/iced/tree/0.3/examples/counter
-/// [`custom_widget`]: https://github.com/hecrj/iced/tree/0.3/examples/custom_widget
-/// [`geometry`]: https://github.com/hecrj/iced/tree/0.3/examples/geometry
-/// [`pane_grid`]: https://github.com/hecrj/iced/tree/0.3/examples/pane_grid
-/// [`progress_bar`]: https://github.com/hecrj/iced/tree/0.3/examples/progress_bar
-/// [`styling`]: https://github.com/hecrj/iced/tree/0.3/examples/styling
-/// [`svg`]: https://github.com/hecrj/iced/tree/0.3/examples/svg
-/// [`tour`]: https://github.com/hecrj/iced/tree/0.3/examples/tour
+/// [The repository has a bunch of examples]: https://github.com/hecrj/iced/tree/0.4/examples
+/// [`bezier_tool`]: https://github.com/hecrj/iced/tree/0.4/examples/bezier_tool
+/// [`counter`]: https://github.com/hecrj/iced/tree/0.4/examples/counter
+/// [`custom_widget`]: https://github.com/hecrj/iced/tree/0.4/examples/custom_widget
+/// [`geometry`]: https://github.com/hecrj/iced/tree/0.4/examples/geometry
+/// [`pane_grid`]: https://github.com/hecrj/iced/tree/0.4/examples/pane_grid
+/// [`progress_bar`]: https://github.com/hecrj/iced/tree/0.4/examples/progress_bar
+/// [`styling`]: https://github.com/hecrj/iced/tree/0.4/examples/styling
+/// [`svg`]: https://github.com/hecrj/iced/tree/0.4/examples/svg
+/// [`tour`]: https://github.com/hecrj/iced/tree/0.4/examples/tour
 /// [`Canvas widget`]: crate::widget::Canvas
 /// [the overview]: index.html#overview
-/// [`iced_wgpu`]: https://github.com/hecrj/iced/tree/0.3/wgpu
+/// [`iced_wgpu`]: https://github.com/hecrj/iced/tree/0.4/wgpu
 /// [`Svg` widget]: crate::widget::Svg
 /// [Ghostscript Tiger]: https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg
 ///
diff --git a/src/widget.rs b/src/widget.rs
index 9cc0832f..83df0052 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -63,7 +63,7 @@ pub mod pane_grid {
     //! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing,
     //! drag and drop, and hotkey support.
     //!
-    //! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.3/examples/pane_grid
+    //! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.4/examples/pane_grid
     pub use iced_native::widget::pane_grid::{
         Axis, Configuration, Direction, DragEvent, Line, Node, Pane,
         ResizeEvent, Split, State, StyleSheet,
-- 
cgit