diff --git a/doc/tutorial_1.md b/doc/tutorial_1.md index ff5b06e..586dfd9 100644 --- a/doc/tutorial_1.md +++ b/doc/tutorial_1.md @@ -91,7 +91,7 @@ It's rather easy to identify the two steps involved. If you run this, you'll get an empty blue terminal, with no way of properly leaving the application (you'll have to press to kill it). -[`Cursive`]: http://gyscos.github.io/Cursive/cursive/struct.Cursive.html +[`Cursive`]: https://docs.rs/cursive/0/cursive/struct.Cursive.html ## Interactivity @@ -128,10 +128,10 @@ fn main() { As expected, running it show no visible change, but hitting the `q` key at least closes the application. -[`add_global_callback`]: http://gyscos.github.io/Cursive/cursive/struct.Cursive.html#method.add_global_callback -[`event::Event`]: http://gyscos.github.io/Cursive/cursive/event/enum.Event.html -[`event::Key`]: http://gyscos.github.io/Cursive/cursive/event/enum.Key.html -[`Cursive::quit`]: http://gyscos.github.io/Cursive/cursive/struct.Cursive.html#method.quit +[`add_global_callback`]: https://docs.rs/cursive/0/cursive/struct.Cursive.html#method.add_global_callback +[`event::Event`]: https://docs.rs/cursive/0/cursive/event/enum.Event.html +[`event::Key`]: https://docs.rs/cursive/0/cursive/event/enum.Key.html +[`Cursive::quit`]: https://docs.rs/cursive/0/cursive/struct.Cursive.html#method.quit ## Views @@ -169,9 +169,9 @@ fn main() { } ``` -[`View`s]: http://gyscos.github.io/Cursive/cursive/view/trait.View.html -[`TextView`]: http://gyscos.github.io/Cursive/cursive/views/struct.TextView.html -[`StackView`]: http://gyscos.github.io/Cursive/cursive/views/struct.StackView.html -[`Cursive::add_layer`]: http://gyscos.github.io/Cursive/cursive/struct.Cursive.html#method.add_layer +[`View`s]: https://docs.rs/cursive/0/cursive/view/trait.View.html +[`TextView`]: https://docs.rs/cursive/0/cursive/views/struct.TextView.html +[`StackView`]: https://docs.rs/cursive/0/cursive/views/struct.StackView.html +[`Cursive::add_layer`]: https://docs.rs/cursive/0/cursive/struct.Cursive.html#method.add_layer Next: [Starting with Cursive (2/3)](./tutorial_2.md) diff --git a/doc/tutorial_2.md b/doc/tutorial_2.md index 5bc0ade..ba3634c 100644 --- a/doc/tutorial_2.md +++ b/doc/tutorial_2.md @@ -103,11 +103,11 @@ This way of chaining method to set-up the view is very common in cursive. Most views provide chainable variants of their methods, to allow creating the view and configuring it in one spot. -[`TextView`]: http://gyscos.github.io/Cursive/cursive/views/struct.TextView -[`Dialog`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html -[`Dialog::around`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html#method.around -[`Dialog::text`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html#method.text -[`Dialog::title`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html#method.title +[`TextView`]: https://docs.rs/cursive/0/cursive/views/struct.TextView +[`Dialog`]: https://docs.rs/cursive/0/cursive/views/struct.Dialog.html +[`Dialog::around`]: https://docs.rs/cursive/0/cursive/views/struct.Dialog.html#method.around +[`Dialog::text`]: https://docs.rs/cursive/0/cursive/views/struct.Dialog.html#method.text +[`Dialog::title`]: https://docs.rs/cursive/0/cursive/views/struct.Dialog.html#method.title ## Buttons @@ -149,7 +149,7 @@ fn show_next(_: &mut Cursive) { } ``` -[`Dialog::button`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html#method.button +[`Dialog::button`]: https://docs.rs/cursive/0/cursive/views/struct.Dialog.html#method.button ## Layers @@ -210,7 +210,7 @@ fn show_answer(s: &mut Cursive, msg: &str) { Here, `show_answer()` does the same thing: remove the previous layer, and add a new `Dialog` instead. -[`Cursive::pop_layer`]: http://gyscos.github.io/Cursive/cursive/struct.Cursive.html#method.pop_layer +[`Cursive::pop_layer`]: https://docs.rs/cursive/0/cursive/struct.Cursive.html#method.pop_layer ## Conclusion diff --git a/doc/tutorial_3.md b/doc/tutorial_3.md index a63460e..b310f30 100644 --- a/doc/tutorial_3.md +++ b/doc/tutorial_3.md @@ -138,11 +138,11 @@ not on the `BoxView` returned by `fixed_size`!) What we do there should be pretty familiar by now: replace the layer with a simple dialog. -[`SelectView`]: http://gyscos.github.io/Cursive/cursive/views/struct.SelectView.html -[`BoxView`]: http://gyscos.github.io/Cursive/cursive/views/struct.BoxView.html -[`Boxable`]: http://gyscos.github.io/Cursive/cursive/view/trait.Boxable.html -[`traits`]: http://gyscos.github.io/Cursive/cursive/traits/index.html -[`SelectView::on_submit`]: http://gyscos.github.io/Cursive/cursive/views/struct.SelectView.html#method.on_submit +[`SelectView`]: https://docs.rs/cursive/0/cursive/views/struct.SelectView.html +[`BoxView`]: https://docs.rs/cursive/0/cursive/views/struct.BoxView.html +[`Boxable`]: https://docs.rs/cursive/0/cursive/view/trait.Boxable.html +[`traits`]: https://docs.rs/cursive/0/cursive/traits/index.html +[`SelectView::on_submit`]: https://docs.rs/cursive/0/cursive/views/struct.SelectView.html#method.on_submit ## Linear layouts @@ -188,10 +188,10 @@ We've added a `DummyView` again to add some space between the list and the buttons. Though with an empty list, it doesn't look like much yet. Let's fill this list with names! -[`Button`]: http://gyscos.github.io/Cursive/cursive/views/struct.Button.html -[`Dialog::around`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html#method.new -[`LinearLayout`]: http://gyscos.github.io/Cursive/cursive/views/struct.LinearLayout.html -[`DummyView`]: http://gyscos.github.io/Cursive/cursive/views/struct.DummyView.html +[`Button`]: https://docs.rs/cursive/0/cursive/views/struct.Button.html +[`Dialog::around`]: https://docs.rs/cursive/0/cursive/views/struct.Dialog.html#method.new +[`LinearLayout`]: https://docs.rs/cursive/0/cursive/views/struct.LinearLayout.html +[`DummyView`]: https://docs.rs/cursive/0/cursive/views/struct.DummyView.html ## IDs @@ -311,14 +311,14 @@ this method returns a handle, through which we can mutate the view. It uses `Rc` and `RefCell` under the hood to provide mutable access to the view without borrowing the `Cursive` root, leaving us free to pop layers. -[`EditView`]: http://gyscos.github.io/Cursive/cursive/views/struct.EditView.html -[`IdView`]: http://gyscos.github.io/Cursive/cursive/views/struct.IdView.html -[`IdView::new`]: http://gyscos.github.io/Cursive/cursive/prelude/struct.IdView.html#method.around -[`Identifiable`]: http://gyscos.github.io/Cursive/cursive/view/trait.Identifiable.html -[`Cursive::find_id`]: http://gyscos.github.io/Cursive/cursive/struct.Cursive.html#method.find_id -[`Cursive::call_on_id`]: http://gyscos.github.io/Cursive/cursive/struct.Cursive.html#method.call_on_id -[`SelectView::selected_id`]: http://gyscos.github.io/Cursive/cursive/views/struct.SelectView.html#method.selected_id -[`SelectView::remove_item`]: http://gyscos.github.io/Cursive/cursive/views/struct.SelectView.html#method.remove_item +[`EditView`]: https://docs.rs/cursive/0/cursive/views/struct.EditView.html +[`IdView`]: https://docs.rs/cursive/0/cursive/views/struct.IdView.html +[`IdView::new`]: https://docs.rs/cursive/0/cursive/prelude/struct.IdView.html#method.around +[`Identifiable`]: https://docs.rs/cursive/0/cursive/view/trait.Identifiable.html +[`Cursive::find_id`]: https://docs.rs/cursive/0/cursive/struct.Cursive.html#method.find_id +[`Cursive::call_on_id`]: https://docs.rs/cursive/0/cursive/struct.Cursive.html#method.call_on_id +[`SelectView::selected_id`]: https://docs.rs/cursive/0/cursive/views/struct.SelectView.html#method.selected_id +[`SelectView::remove_item`]: https://docs.rs/cursive/0/cursive/views/struct.SelectView.html#method.remove_item ## Conclusion