Skip to content

Commit 8e9bfeb

Browse files
committed
Revert crate list to current status
- *...* -> **...** - Larger default size for logo - Redirect /docs-src/
1 parent 28d69a8 commit 8e9bfeb

File tree

6 files changed

+136
-23
lines changed

6 files changed

+136
-23
lines changed

_layouts/redirect.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<html>
2+
<head>
3+
{% include head.html %}
4+
5+
<meta http-equiv="refresh" content="0; url={{ page.redirect }}" />
6+
<link rel="canonical" href="{{ page.redirect }}" />
7+
</head>
8+
<body>
9+
This page has moved to the <a href="{{ page.redirect }}">new location "{{ page.redirect }}"</a>.
10+
</body>
11+
</html>

contact.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ For general support use the GNOME Discourse or the Matrix chat.
1010

1111
### Contact gtk-rs developers
1212

13-
If you want to contact the *gtk-rs* developers directly, there are multiple ways, either you can go on matrix as shown above or you can also just open an issue on our [repositories on GitHub](https://github.com/gtk-rs). However, please keep in mind that issues on GitHub should be used for bug reports or feature requests and not for general support.
13+
If you want to contact the **gtk-rs** developers directly, there are multiple ways, either you can go on matrix as shown above or you can also just open an issue on our [repositories on GitHub](https://github.com/gtk-rs). However, please keep in mind that issues on GitHub should be used for bug reports or feature requests and not for general support.

docs-src.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
layout: redirect
3+
redirect: /
4+
---

faq.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Here are some questions we answered a few times. If one is missing, don't hesita
88

99
## Why are releases so long?
1010

11-
The *gtk-rs* organization is not just some *GNOME* libraries bindings in Rust but also an ecosystem. A change in a crate can force all other crates to be regenerated!
11+
The **gtk-rs** organization is not just some **GNOME** libraries bindings in Rust but also an ecosystem. A change in a crate can force all other crates to be regenerated!
1212

13-
Also, please keep in mind that *gtk-rs* members and contributors are doing it **freely** on their **free time**. That slows things down but at least, they're done. :)
13+
Also, please keep in mind that **gtk-rs** members and contributors are doing it **freely** on their **free time**. That slows things down but at least, they're done. :)
1414

1515
## How are gtk-rs maintained crates selected?
1616

17-
Currenlty we only add crates to the gtk-rs project that are required for the existing stack. A growing collection of other projects that are based on *gtk-rs* and gir can be found on the [GNOME GitLab](https://gitlab.gnome.org/World/Rust).
17+
Currenlty we only add crates to the gtk-rs project that are required for the existing stack. A growing collection of other projects that are based on **gtk-rs** and gir can be found on the [GNOME GitLab](https://gitlab.gnome.org/World/Rust).
1818

19-
## I want more **gtk-rs** examples!
19+
## I want more gtk-rs examples!
2020

2121
You can find more examples in the corresponding respositories
2222

@@ -32,7 +32,7 @@ Considering the massive amount of documentation that would need to be written if
3232

3333
## Why isn't documentation directly into the source files and how can I have it locally?
3434

35-
Simple answer: because of license issues. *GNOME* is under *LGPL* whereas *gtk-rs* is under *MIT*. If we included *GNOME* docs directly into the source code, we'd have to switch the license to match the *GNOME* one.
35+
Simple answer: because of license issues. **GNOME** is under **LGPL** whereas **gtk-rs** is under **MIT**. If we included **GNOME** docs directly into the source code, we'd have to switch the license to match the **GNOME** one.
3636

3737
Currently, documentation is generated as follows:
3838

index.md

+100-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: no-wrapper
77
# Unlock the GNOME stack for Rust
88

99
<p style="text-align: center; margin: 0 2em;" markdown="1">
10-
The *gtk-rs* project provides safe bindings to the [Rust] language for fundamental libraries from the GNOME stack like [GLib], [Cairo], [GTK 3][GTK] and [GTK 4][GTK].
10+
The **gtk-rs** project provides safe bindings to the [Rust] language for fundamental libraries from the GNOME stack like [GLib], [Cairo], [GTK 3][GTK] and [GTK 4][GTK].
1111
</p>
1212

1313
[Rust]: https://www.rust-lang.org
@@ -30,9 +30,105 @@ The *gtk-rs* project provides safe bindings to the [Rust] language for fundament
3030

3131
## Available crates
3232

33-
The following table contains the most popular crates of *gtk-rs*. More information on all existing crates is available under the corresponding *Project* links.
33+
The following table contains the most popular crates of **gtk-rs**. More information on all existing crates is available under the corresponding *Project* links.
3434

35+
<!--
3536
{% include crates.html %}
37+
-->
38+
39+
<table>
40+
<thead>
41+
<tr><th>Project</th><th colspan="2">Crate</th><th>Docs</th></tr>
42+
</thead>
43+
<tbody>
44+
45+
<tr>
46+
<td class="section">
47+
<a href="/gtk-rs-core">Core</a>
48+
</td>
49+
<td>
50+
<a href="https://crates.io/crates/cairo-rs">
51+
cairo-rs
52+
</a>
53+
</td>
54+
<td>
55+
v0.9.0
56+
</td>
57+
<td class="docs">
58+
<a href="/gtk-rs-core/stable/latest/docs/cairo">🕮</a>
59+
</td>
60+
</tr>
61+
62+
<tr>
63+
<td class="section">
64+
<a href="/gtk-rs-core"></a>
65+
</td>
66+
<td>
67+
<a href="https://crates.io/crates/gio">
68+
gio
69+
</a>
70+
</td>
71+
<td>
72+
v0.9.0
73+
</td>
74+
<td class="docs">
75+
<a href="/gtk-rs-core/stable/latest/docs/gio">🕮</a>
76+
</td>
77+
</tr>
78+
79+
<tr>
80+
<td class="section">
81+
<a href="/gtk-rs-core"></a>
82+
</td>
83+
<td>
84+
<a href="https://crates.io/crates/glib">
85+
glib
86+
</a>
87+
</td>
88+
<td>
89+
v0.10.0
90+
</td>
91+
<td class="docs">
92+
<a href="/gtk-rs-core/stable/latest/docs/glib">🕮</a>
93+
</td>
94+
</tr>
95+
96+
<tr>
97+
<td class="section">
98+
<a href="/gtk-rs-core"></a>
99+
</td>
100+
<td>
101+
<a href="https://crates.io/crates/pango">
102+
pango
103+
</a>
104+
</td>
105+
<td>
106+
v0.9.0
107+
</td>
108+
<td class="docs">
109+
<a href="/gtk-rs-core/stable/latest/docs/pango">🕮</a>
110+
</td>
111+
</tr>
112+
113+
<tr>
114+
<td class="section">
115+
<a href="/gtk3-rs">GTK 3</a>
116+
</td>
117+
<td>
118+
<a href="https://crates.io/crates/gtk">
119+
gtk
120+
</a>
121+
</td>
122+
<td>
123+
v0.9.0
124+
</td>
125+
<td class="docs">
126+
<a href="/docs/gtk/">🕮</a>
127+
</td>
128+
</tr>
129+
130+
</tbody>
131+
</table>
36132

37133
</section>
38134

@@ -46,9 +142,9 @@ The following table contains the most popular crates of *gtk-rs*. More informati
46142

47143
<div markdown="1">
48144
Julian Hofer is writing a book titled [*GUI development with Rust and GTK 4*][book].
49-
We most warmly recommend *gtk-rs* users to have a look at this book.
145+
We most warmly recommend **gtk-rs** users to have a look at this book.
50146
While this book is targeted at GTK 4 developers, it also covers more general
51-
aspects of GLib like *GObject Concepts*, *The Main Event Loop* or *GSettings*.
147+
aspects of GLib like **GObject Concepts**, **The Main Event Loop** or **GSettings**.
52148

53149
- **Online Book:** [GUI development with Rust and GTK 4][book]
54150

logo.svg

+15-13
Loading

0 commit comments

Comments
 (0)