From 1c3eb46752eba30200b9f38b7bf3527d58d0efe8 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 3 Oct 2024 10:15:52 +0200 Subject: [PATCH] Fixup dead links to the old tutorial --- README.md | 9 +++------ api/cpp/README.md | 5 +---- api/cpp/docs/getting_started.md | 2 +- api/node/README.md | 2 +- api/node/cover.md | 2 +- examples/memory/README.md | 7 ++----- 6 files changed, 9 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 93b610be773..08e70870ac8 100644 --- a/README.md +++ b/README.md @@ -120,9 +120,9 @@ The `docs` folder contains a lot more information, including Refer to the README of each language directory in the `api` folder: -- [C++](api/cpp) ([Documentation][#15] | [Tutorial][#16] | [Getting Started Template][#17]) -- [Rust](api/rs/slint) [![Crates.io][#18]][#19] ([Documentation][#20] | [Tutorial][#21] | [Tutorial Video][#22] | [Getting Started Template][#23]) -- [JavaScript/NodeJS (Beta)](api/node) [![npm][#24]][#25] ([Documentation][#26] | [Tutorial][#27] | [Getting Started Template][#28]) +- [C++](api/cpp) ([Documentation][#15] | [Getting Started Template][#17]) +- [Rust](api/rs/slint) [![Crates.io][#18]][#19] ([Documentation][#20] | [Tutorial Video][#22] | [Getting Started Template][#23]) +- [JavaScript/NodeJS (Beta)](api/node) [![npm][#24]][#25] ([Documentation][#26] | [Getting Started Template][#28]) ## Architecture @@ -247,18 +247,15 @@ You can of course also contact us privately via email to [info@slint.dev](mailto [#13]: https://slint.dev/resources/gallery_screenshot.png "Gallery Demo" [#14]: https://slint.dev/demos/gallery/ [#15]: https://slint.dev/latest/docs/cpp -[#16]: https://slint.dev/latest/docs/quickstart/cpp [#17]: https://github.com/slint-ui/slint-cpp-template [#18]: https://img.shields.io/crates/v/slint [#19]: https://crates.io/crates/slint [#20]: https://slint.dev/latest/docs/rust/slint/ -[#21]: https://slint.dev/latest/docs/quickstart/rust [#22]: https://youtu.be/WBcv4V-whHk [#23]: https://github.com/slint-ui/slint-rust-template [#24]: https://img.shields.io/npm/v/slint-ui [#25]: https://www.npmjs.com/package/slint-ui [#26]: https://slint.dev/latest/docs/node -[#27]: https://slint.dev/latest/docs/quickstart/node [#28]: https://github.com/slint-ui/slint-nodejs-template [#29]: ./examples/weather-demo/docs/img/desktop-preview.png "Weather Demo" [#30]: https://slint.dev/demos/weather-demo/ diff --git a/api/cpp/README.md b/api/cpp/README.md index 2fcf6e2fe83..270dcce429e 100644 --- a/api/cpp/README.md +++ b/api/cpp/README.md @@ -9,8 +9,6 @@ Slint.cpp is the C++ API to interact with a Slint UI from C++. The complete C++ documentation can be viewed online at https://slint.dev/docs/cpp/. -If you are new to Slint, you might also consider going through our [Walk-through tutorial](https://slint.dev/docs/quickstart/cpp). - ## Installing or Building Slint Slint comes with a CMake integration that automates the compilation step of the `.slint` markup language files and @@ -250,7 +248,6 @@ int main() { That's it. -For more details, check the [Online documentation](https://slint.dev/docs/cpp) and the full - [Walk-through tutorial](https://slint.dev/docs/quickstart/cpp). +For more details, check the [Online documentation](https://slint.dev/docs/cpp). We also have a [Getting Started Template](https://github.com/slint-ui/slint-cpp-template) repository with the code of a minimal C++ application using Slint that can be used as a starting point to your program. diff --git a/api/cpp/docs/getting_started.md b/api/cpp/docs/getting_started.md index 11bb5ee85f2..8b22e20eee9 100644 --- a/api/cpp/docs/getting_started.md +++ b/api/cpp/docs/getting_started.md @@ -83,7 +83,7 @@ the UI, read or write properties, and set callbacks. You can learn more about ho ## Tutorial -For an in-depth walk-through, read our Slint Memory Game Tutorial. +For an in-depth walk-through, read our Slint Memory Game Tutorial. It will guide you through the `.slint` mark-up language and the C++ API by building a simple memory game. diff --git a/api/node/README.md b/api/node/README.md index 1fca58fe33f..22a10184c19 100644 --- a/api/node/README.md +++ b/api/node/README.md @@ -7,7 +7,7 @@ [Slint](https://slint.dev/) is a UI toolkit that supports different programming languages. Slint-node is the integration with Node.js. -To get started you use the [walk-through tutorial](https://slint.dev/docs/quickstart/node). +To get started you use the [walk-through tutorial](https://slint.dev/docs/slint/src/quickstart/). We also have a [Getting Started Template](https://github.com/slint-ui/slint-nodejs-template) repository with the code of a minimal application using Slint that can be used as a starting point to your program. diff --git a/api/node/cover.md b/api/node/cover.md index 6d839376fb5..ed8a9606f64 100644 --- a/api/node/cover.md +++ b/api/node/cover.md @@ -6,7 +6,7 @@ [Slint](https://slint.dev/) is a UI toolkit that supports different programming languages. Slint-node is the integration with [Node.js](https://nodejs.org/en) and [Deno](https://deno.com). -To get started you use the [walk-through tutorial](https://slint.dev/docs/quickstart/node). +To get started you use the [walk-through tutorial](https://slint.dev/docs/slint/src/quickstart). We also have a [Getting Started Template](https://github.com/slint-ui/slint-nodejs-template) repository with the code of a minimal application using Slint that can be used as a starting point to your program. diff --git a/examples/memory/README.md b/examples/memory/README.md index 0f1e0a0f46a..3888f1f0f36 100644 --- a/examples/memory/README.md +++ b/examples/memory/README.md @@ -2,13 +2,10 @@ ### `memory` -A basic memory game used as an example the tutorial: - -* [Memory Game Tutorial (Rust)](https://slint.dev/docs/quickstart/rust) -* [Memory Game Tutorial (C++)](https://slint.dev/docs/quickstart/cpp) +A basic memory game used as an example the [tutorial](https://slint.dev/docs/slint/src/quickstart/) | `.slint` Design | Rust Source | C++ Source | Online wasm Preview | Open in SlintPad | | --- | --- | --- | --- | --- | | [`memory.slint`](./memory.slint) | [`main.rs`](./main.rs) | [`memory.cpp`](./memory.cpp) | [Online simulation](https://slint.dev/snapshots/master/demos/memory/) | [Preview in Online Code Editor](https://slint.dev/snapshots/master/editor?load_url=https://raw.githubusercontent.com/slint-ui/slint/master/examples/memory/memory.slint) | -![Screenshot of Memory](https://github.com/user-attachments/assets/63216b63-2f9e-48c0-8efe-64cee9e91f07 "Memory screenshot") \ No newline at end of file +![Screenshot of Memory](https://github.com/user-attachments/assets/63216b63-2f9e-48c0-8efe-64cee9e91f07 "Memory screenshot")