Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert crate list to current status #209

Merged
merged 1 commit into from
Jun 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions _layouts/redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<head>
{% include head.html %}

<meta http-equiv="refresh" content="0; url={{ page.redirect }}" />
<link rel="canonical" href="{{ page.redirect }}" />
</head>
<body>
This page has moved to the <a href="{{ page.redirect }}">new location "{{ page.redirect }}"</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ For general support use the GNOME Discourse or the Matrix chat.

### Contact gtk-rs developers

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.
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.
4 changes: 4 additions & 0 deletions docs-src.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: redirect
redirect: /
---
10 changes: 5 additions & 5 deletions faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ Here are some questions we answered a few times. If one is missing, don't hesita

## Why are releases so long?

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!
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!

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. :)
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. :)

## How are gtk-rs maintained crates selected?

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).
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).

## I want more **gtk-rs** examples!
## I want more gtk-rs examples!

You can find more examples in the corresponding respositories

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

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

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.
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.

Currently, documentation is generated as follows:

Expand Down
104 changes: 100 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ layout: no-wrapper
# Unlock the GNOME stack for Rust

<p style="text-align: center; margin: 0 2em;" markdown="1">
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].
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].
</p>

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

## Available crates

The following table contains the most popular crates of *gtk-rs*. More information on all existing crates is available under the corresponding *Project* links.
The following table contains the most popular crates of **gtk-rs**. More information on all existing crates is available under the corresponding *Project* links.
sophie-h marked this conversation as resolved.
Show resolved Hide resolved

<!--
{% include crates.html %}
-->

<table>
<thead>
<tr><th>Project</th><th colspan="2">Crate</th><th>Docs</th></tr>
</thead>
<tbody>

<tr>
<td class="section">
<a href="/gtk-rs-core">Core</a>
</td>
<td>
<a href="https://crates.io/crates/cairo-rs">
cairo-rs
</a>
</td>
<td>
v0.9.0
</td>
<td class="docs">
<a href="/gtk-rs-core/stable/latest/docs/cairo">🕮</a>
</td>
</tr>

<tr>
<td class="section">
<a href="/gtk-rs-core"></a>
</td>
<td>
<a href="https://crates.io/crates/gio">
gio
</a>
</td>
<td>
v0.9.0
</td>
<td class="docs">
<a href="/gtk-rs-core/stable/latest/docs/gio">🕮</a>
</td>
</tr>

<tr>
<td class="section">
<a href="/gtk-rs-core"></a>
</td>
<td>
<a href="https://crates.io/crates/glib">
glib
</a>
</td>
<td>
v0.10.0
</td>
<td class="docs">
<a href="/gtk-rs-core/stable/latest/docs/glib">🕮</a>
</td>
</tr>

<tr>
<td class="section">
<a href="/gtk-rs-core"></a>
</td>
<td>
<a href="https://crates.io/crates/pango">
pango
</a>
</td>
<td>
v0.9.0
</td>
<td class="docs">
<a href="/gtk-rs-core/stable/latest/docs/pango">🕮</a>
</td>
</tr>

<tr>
<td class="section">
<a href="/gtk3-rs">GTK 3</a>
</td>
<td>
<a href="https://crates.io/crates/gtk">
gtk
</a>
</td>
<td>
v0.9.0
</td>
<td class="docs">
<a href="/docs/gtk/">🕮</a>
</td>
</tr>

</tbody>
</table>

</section>

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

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

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

Expand Down
28 changes: 15 additions & 13 deletions logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.