Skip to content

Commit ec8dc56

Browse files
committed
Move tutorials to /docs-src/tutorials
1 parent f0f02c5 commit ec8dc56

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

tuto/closures.md renamed to docs-src/tutorial/closures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ button.connect_clicked(clone!(windows => move |_| {
150150
```
151151

152152
<div class="footer">
153-
<div><a href="/tuto/version">Specifying version</a>.</div>
153+
<div><a href="./version">Specifying version</a>.</div>
154154
<div><a href="/docs-src/tutorial">Going back to summary</a>.</div>
155-
<div><a href="/tuto/upcast_downcast">Upcast and downcast</a>.</div>
155+
<div><a href="./upcast_downcast">Upcast and downcast</a>.</div>
156156
</div>

tuto/cross.md renamed to docs-src/tutorial/cross.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ then download the windows 10 them from http://b00merang.weebly.com/windows-10.ht
157157
mv Windows-10-master /wherever/release/share/themes/Windows10
158158

159159
<div class="footer">
160-
<div><a href="/tuto/glade">Glade</a>.</div>
160+
<div><a href="./glade">Glade</a>.</div>
161161
<div><a href="/docs-src/tutorial">Going back to summary</a>.</div>
162162
<div></div>
163163
</div>

tuto/glade.md renamed to docs-src/tutorial/glade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ gtk::main();
133133
```
134134

135135
<div class="footer">
136-
<div><a href="/tuto/upcast_downcast">Upcast and downcast</a>.</div>
136+
<div><a href="./upcast_downcast">Upcast and downcast</a>.</div>
137137
<div><a href="/docs-src/tutorial">Going back to summary</a>.</div>
138-
<div><a href="/tuto/cross">Cross compiling from linux to windows</a>.</div>
138+
<div><a href="./cross">Cross compiling from linux to windows</a>.</div>
139139
<div></div>
140140
</div>

tuto/gnome_and_rust.md renamed to docs-src/tutorial/gnome_and_rust.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The same goes for interfaces. The [gnome documentation](https://developer.gnome.
6262
I think that with this, you'll be able to write anything you want without too much difficulties. Now it's time to go deeper into `Gtk-rs` usage!
6363

6464
<div class="footer">
65-
<div><a href="/tuto/rust_and_gtk">Rust and <code>Gtk-rs</code></a>.</div>
65+
<div><a href="./rust_and_gtk">Rust and <code>Gtk-rs</code></a>.</div>
6666
<div><a href="/docs-src/tutorial">Going back to summary</a>.</div>
67-
<div><a href="/tuto/version">Specifying version</a>.</div>
67+
<div><a href="./version">Specifying version</a>.</div>
6868
</div>

docs-src/tutorial.md renamed to docs-src/tutorial/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ Here's an introduction to `Gtk-rs` crates. For the users who already know Rust a
1010

1111
This part explains how to add dependencies on the `Gtk-rs` crates, depending on your needs.
1212

13-
[Read it here](/tuto/rust_and_gtk).
13+
[Read it here](./rust_and_gtk).
1414

1515
## Gnome libraries and Rust
1616

1717
This part explains a bit how the bindings of the Gnome libraries work in Rust.
1818

19-
[Read it here](/tuto/gnome_and_rust).
19+
[Read it here](./gnome_and_rust).
2020

2121
## Full usage of `Gtk-rs` crates
2222

2323
In this part we'll go deeper into the mechanisms of the `Gtk-rs` crates. If you're not sure about your Rust or Gnome libraries knowledge, we recommend you to take a look at the previous parts first.
2424

25-
* [Specifying version](/tuto/version).
26-
* [Callbacks and closures](/tuto/closures).
27-
* [Upcast and downcast](/tuto/upcast_downcast).
28-
* [Glade](/tuto/glade).
29-
* [Cross compiling from linux to windows](/tuto/cross).
25+
* [Specifying version](./version).
26+
* [Callbacks and closures](./closures).
27+
* [Upcast and downcast](./upcast_downcast).
28+
* [Glade](./glade).
29+
* [Cross compiling from linux to windows](./cross).

tuto/rust_and_gtk.md renamed to docs-src/tutorial/rust_and_gtk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ Now that you know how to import `Gtk-rs` crates into your code, looking at the [
5555
<div class="footer">
5656
<div></div>
5757
<div><a href="/docs-src/tutorial">Going back to summary</a>.</div>
58-
<div><a href="/tuto/gnome_and_rust">Gnome libraries and Rust</a>.</div>
58+
<div><a href="./gnome_and_rust">Gnome libraries and Rust</a>.</div>
5959
</div>

tuto/upcast_downcast.md renamed to docs-src/tutorial/upcast_downcast.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ assert_eq!(is_a::<_, gtk::Label>(&button), false);
5454
```
5555

5656
<div class="footer">
57-
<div><a href="/tuto/closures">Callbacks and closures</a>.</div>
57+
<div><a href="./closures">Callbacks and closures</a>.</div>
5858
<div><a href="/docs-src/tutorial">Going back to summary</a>.</div>
59-
<div><a href="/tuto/glade">Glade</a>.</div>
59+
<div><a href="./glade">Glade</a>.</div>
6060
</div>

tuto/version.md renamed to docs-src/tutorial/version.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ So when someone has a new enough version of Gtk, it'll be able to build your cra
5656
```
5757

5858
<div class="footer">
59-
<div><a href="/tuto/gnome_and_rust">Gnome libraries and Rust</a>.</div>
59+
<div><a href="./gnome_and_rust">Gnome libraries and Rust</a>.</div>
6060
<div><a href="/docs-src/tutorial">Going back to summary</a>.</div>
61-
<div><a href="/tuto/closures">Callbacks and closures</a>.</div>
61+
<div><a href="./closures">Callbacks and closures</a>.</div>
6262
</div>

0 commit comments

Comments
 (0)