Skip to content

Commit 299afca

Browse files
committed
Links to tutorials, examples, projects and requirements on the documentation index and tutorials
1 parent 58c10a9 commit 299afca

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

docs-src/index.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ layout: default
33
---
44
# Gtk-rs documentation
55

6-
### [Requirements](requirements.html)
6+
## [Requirements](requirements.html)
77

8-
### Crate API docs
8+
## Crate API docs
99

1010
- [**atk**](../docs/atk/)
1111
- [**cairo**](../docs/cairo/)
@@ -18,7 +18,9 @@ layout: default
1818
- [**pangocairo**](../docs/pangocairo/)
1919
- [**sourceview**](../docs/sourceview/)
2020

21-
### Versions
21+
## [The GTK+ Project documentation](http://www.gtk.org/documentation.php)
22+
23+
## Versions
2224

2325
By default the `gtk` crate provides only GTK+ 3.14 APIs. You can access more
2426
modern APIs by selecting one of the following features: `v3_16`, `v3_18`, `v3_20`, `v3_22`, `v3_24`, `v3_26`, `v3_28`, `v3_30`.
@@ -35,8 +37,8 @@ features = ["v3_16"]
3537
not have easy access to the latest ones.** The higher the version, the fewer
3638
users will have it installed.
3739

38-
### Examples
39-
40-
See the [examples repository](https://github.com/gtk-rs/examples).
40+
## Tutorials and examples
4141

42-
### [The GTK+ Project documentation](http://www.gtk.org/documentation.php)
42+
* [Tutorials](/docs-src/tutorial).
43+
* [Examples repository](https://github.com/gtk-rs/examples).
44+
* [Projects using `gtk-rs`](/#projects-using-gtk-rs).

docs-src/tutorial/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ In this part we'll go deeper into the mechanisms of the `Gtk-rs` crates. If you'
2020
* [Upcast and downcast](./upcast_downcast).
2121
* [Glade](./glade).
2222
* [Cross compiling from linux to windows](./cross).
23+
24+
## Going further
25+
26+
Make sure to check the [examples repository](https://github.com/gtk-rs/examples). Also you can take a look at the source code of [projects using `gtk-rs`](/#projects-using-gtk-rs).

docs-src/tutorial/rust_and_gtk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ layout: default
66

77
Before going any further, if you don't know Rust at all, we recommend you to read the official [Rust Book](https://doc.rust-lang.org/book/).
88

9-
Then we recommend you to learn a bit about [Cargo](http://doc.crates.io/index.html).
9+
Then we recommend you to learn a bit about [Cargo](http://doc.crates.io/index.html) and check the [GTK requirements](/docs-src/requirements).
1010

1111
All done? Perfect!
1212

0 commit comments

Comments
 (0)