Update example links to point to `0.2` branch
This commit is contained in:
parent
b5c41a8815
commit
745aa49025
|
@ -125,9 +125,9 @@ impl<I, O, H> std::fmt::Debug for Subscription<I, O, H> {
|
|||
/// - [`stopwatch`], a watch with start/stop and reset buttons showcasing how
|
||||
/// to listen to time.
|
||||
///
|
||||
/// [examples]: https://github.com/hecrj/iced/tree/0.1/examples
|
||||
/// [`download_progress`]: https://github.com/hecrj/iced/tree/0.1/examples/download_progress
|
||||
/// [`stopwatch`]: https://github.com/hecrj/iced/tree/0.1/examples/stopwatch
|
||||
/// [examples]: https://github.com/hecrj/iced/tree/0.2/examples
|
||||
/// [`download_progress`]: https://github.com/hecrj/iced/tree/0.2/examples/download_progress
|
||||
/// [`stopwatch`]: https://github.com/hecrj/iced/tree/0.2/examples/stopwatch
|
||||
pub trait Recipe<Hasher: std::hash::Hasher, Event> {
|
||||
/// The events that will be produced by a [`Subscription`] with this
|
||||
/// [`Recipe`].
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
//! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing,
|
||||
//! drag and drop, and hotkey support.
|
||||
//!
|
||||
//! [`pane_grid` example]: https://github.com/hecrj/iced/tree/0.1/examples/pane_grid
|
||||
//! [`pane_grid` example]: https://github.com/hecrj/iced/tree/0.2/examples/pane_grid
|
||||
use crate::Renderer;
|
||||
|
||||
pub use iced_native::pane_grid::{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
//! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing,
|
||||
//! drag and drop, and hotkey support.
|
||||
//!
|
||||
//! [`pane_grid` example]: https://github.com/hecrj/iced/tree/0.1/examples/pane_grid
|
||||
//! [`pane_grid` example]: https://github.com/hecrj/iced/tree/0.2/examples/pane_grid
|
||||
use crate::backend::{self, Backend};
|
||||
use crate::defaults;
|
||||
use crate::{Primitive, Renderer};
|
||||
|
|
|
@ -16,7 +16,7 @@ use std::hash::Hasher;
|
|||
/// The [`integration` example] uses a [`UserInterface`] to integrate Iced in
|
||||
/// an existing graphical application.
|
||||
///
|
||||
/// [`integration` example]: https://github.com/hecrj/iced/tree/0.1/examples/integration
|
||||
/// [`integration` example]: https://github.com/hecrj/iced/tree/0.2/examples/integration
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct UserInterface<'a, Message, Renderer> {
|
||||
root: Element<'a, Message, Renderer>,
|
||||
|
|
|
@ -93,12 +93,12 @@ use crate::{Clipboard, Hasher, Layout, Length, Point, Rectangle};
|
|||
/// - [`geometry`], a custom widget showcasing how to draw geometry with the
|
||||
/// `Mesh2D` primitive in [`iced_wgpu`].
|
||||
///
|
||||
/// [examples]: https://github.com/hecrj/iced/tree/0.1/examples
|
||||
/// [`bezier_tool`]: https://github.com/hecrj/iced/tree/0.1/examples/bezier_tool
|
||||
/// [`custom_widget`]: https://github.com/hecrj/iced/tree/0.1/examples/custom_widget
|
||||
/// [`geometry`]: https://github.com/hecrj/iced/tree/0.1/examples/geometry
|
||||
/// [examples]: https://github.com/hecrj/iced/tree/0.2/examples
|
||||
/// [`bezier_tool`]: https://github.com/hecrj/iced/tree/0.2/examples/bezier_tool
|
||||
/// [`custom_widget`]: https://github.com/hecrj/iced/tree/0.2/examples/custom_widget
|
||||
/// [`geometry`]: https://github.com/hecrj/iced/tree/0.2/examples/geometry
|
||||
/// [`lyon`]: https://github.com/nical/lyon
|
||||
/// [`iced_wgpu`]: https://github.com/hecrj/iced/tree/0.1/wgpu
|
||||
/// [`iced_wgpu`]: https://github.com/hecrj/iced/tree/0.2/wgpu
|
||||
pub trait Widget<Message, Renderer>
|
||||
where
|
||||
Renderer: crate::Renderer,
|
||||
|
|
|
@ -27,6 +27,8 @@ use crate::{Color, Command, Element, Executor, Settings, Subscription};
|
|||
/// a dummy file of 100 MB and tracks the download progress.
|
||||
/// - [`events`], a log of native events displayed using a conditional
|
||||
/// [`Subscription`].
|
||||
/// - [`game_of_life`], an interactive version of the [Game of Life], invented
|
||||
/// by [John Horton Conway].
|
||||
/// - [`pokedex`], an application that displays a random Pokédex entry (sprite
|
||||
/// included!) by using the [PokéAPI].
|
||||
/// - [`solar_system`], an animated solar system drawn using the [`Canvas`] widget
|
||||
|
@ -35,14 +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.1/examples
|
||||
/// [`clock`]: https://github.com/hecrj/iced/tree/0.1/examples/clock
|
||||
/// [`download_progress`]: https://github.com/hecrj/iced/tree/0.1/examples/download_progress
|
||||
/// [`events`]: https://github.com/hecrj/iced/tree/0.1/examples/events
|
||||
/// [`pokedex`]: https://github.com/hecrj/iced/tree/0.1/examples/pokedex
|
||||
/// [`solar_system`]: https://github.com/hecrj/iced/tree/0.1/examples/solar_system
|
||||
/// [`stopwatch`]: https://github.com/hecrj/iced/tree/0.1/examples/stopwatch
|
||||
/// [`todos`]: https://github.com/hecrj/iced/tree/0.1/examples/todos
|
||||
/// [The repository has a bunch of examples]: https://github.com/hecrj/iced/tree/0.2/examples
|
||||
/// [`clock`]: https://github.com/hecrj/iced/tree/0.2/examples/clock
|
||||
/// [`download_progress`]: https://github.com/hecrj/iced/tree/0.2/examples/download_progress
|
||||
/// [`events`]: https://github.com/hecrj/iced/tree/0.2/examples/events
|
||||
/// [`game_of_life`]: https://github.com/hecrj/iced/tree/0.2/examples/game_of_life
|
||||
/// [`pokedex`]: https://github.com/hecrj/iced/tree/0.2/examples/pokedex
|
||||
/// [`solar_system`]: https://github.com/hecrj/iced/tree/0.2/examples/solar_system
|
||||
/// [`stopwatch`]: https://github.com/hecrj/iced/tree/0.2/examples/stopwatch
|
||||
/// [`todos`]: https://github.com/hecrj/iced/tree/0.2/examples/todos
|
||||
/// [`Sandbox`]: crate::Sandbox
|
||||
/// [`Canvas`]: crate::widget::Canvas
|
||||
/// [PokéAPI]: https://pokeapi.co/
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
//! [windowing shell]: https://github.com/hecrj/iced/tree/master/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.1/examples
|
||||
//! [examples]: https://github.com/hecrj/iced/tree/0.2/examples
|
||||
//! [repository]: https://github.com/hecrj/iced
|
||||
//!
|
||||
//! # Overview
|
||||
|
|
|
@ -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.1/examples
|
||||
/// [`bezier_tool`]: https://github.com/hecrj/iced/tree/0.1/examples/bezier_tool
|
||||
/// [`counter`]: https://github.com/hecrj/iced/tree/0.1/examples/counter
|
||||
/// [`custom_widget`]: https://github.com/hecrj/iced/tree/0.1/examples/custom_widget
|
||||
/// [`geometry`]: https://github.com/hecrj/iced/tree/0.1/examples/geometry
|
||||
/// [`pane_grid`]: https://github.com/hecrj/iced/tree/0.1/examples/pane_grid
|
||||
/// [`progress_bar`]: https://github.com/hecrj/iced/tree/0.1/examples/progress_bar
|
||||
/// [`styling`]: https://github.com/hecrj/iced/tree/0.1/examples/styling
|
||||
/// [`svg`]: https://github.com/hecrj/iced/tree/0.1/examples/svg
|
||||
/// [`tour`]: https://github.com/hecrj/iced/tree/0.1/examples/tour
|
||||
/// [The repository has a bunch of examples]: https://github.com/hecrj/iced/tree/0.2/examples
|
||||
/// [`bezier_tool`]: https://github.com/hecrj/iced/tree/0.2/examples/bezier_tool
|
||||
/// [`counter`]: https://github.com/hecrj/iced/tree/0.2/examples/counter
|
||||
/// [`custom_widget`]: https://github.com/hecrj/iced/tree/0.2/examples/custom_widget
|
||||
/// [`geometry`]: https://github.com/hecrj/iced/tree/0.2/examples/geometry
|
||||
/// [`pane_grid`]: https://github.com/hecrj/iced/tree/0.2/examples/pane_grid
|
||||
/// [`progress_bar`]: https://github.com/hecrj/iced/tree/0.2/examples/progress_bar
|
||||
/// [`styling`]: https://github.com/hecrj/iced/tree/0.2/examples/styling
|
||||
/// [`svg`]: https://github.com/hecrj/iced/tree/0.2/examples/svg
|
||||
/// [`tour`]: https://github.com/hecrj/iced/tree/0.2/examples/tour
|
||||
/// [`lyon`]: https://github.com/nical/lyon
|
||||
/// [the overview]: index.html#overview
|
||||
/// [`iced_wgpu`]: https://github.com/hecrj/iced/tree/0.1/wgpu
|
||||
/// [`iced_wgpu`]: https://github.com/hecrj/iced/tree/0.2/wgpu
|
||||
/// [`Svg` widget]: crate::widget::Svg
|
||||
/// [Ghostscript Tiger]: https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg
|
||||
///
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
//!
|
||||
//! [`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.1/examples/tour
|
||||
//! [`tour` example]: https://github.com/hecrj/iced/tree/0.2/examples/tour
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
#![deny(unused_results)]
|
||||
|
|
Loading…
Reference in New Issue