From 9f51fd61b718defcbc9628db9bdc6d095496336e Mon Sep 17 00:00:00 2001 From: Kavindra Palaraja Date: Tue, 4 Apr 2023 18:06:59 +0200 Subject: [PATCH] Improve the landing page for the Slint Language documentation Remove the Intro page and move that content to the landing page instead. --- docs/language/index.rst | 26 +++++++++++++++++++++++--- docs/language/src/concepts/intro.md | 19 ------------------- 2 files changed, 23 insertions(+), 22 deletions(-) delete mode 100644 docs/language/src/concepts/intro.md diff --git a/docs/language/index.rst b/docs/language/index.rst index cd98f256b..eea3473c6 100644 --- a/docs/language/index.rst +++ b/docs/language/index.rst @@ -1,11 +1,31 @@ .. Copyright © SixtyFPS GmbH .. SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial -Welcome to the Slint Language Documentation +Introduction =========================================== -Introduction ------------- +The Slint Language +------------------ + +Slint comes with an easy to learn and use language for you to describe user +interfaces with. It is readable to both humans and machines. + +This way, we have excellent tooling on one side, while also enabling +designers and developers to know exactly what happens, by reading the code +their machine uses to display the user interfaces. + +This Slint language is either interpreted at run-time or compiled to native +code, which gets built into your application together with the code in the same +programming language providing the business logic. The Slint compiler can +optimize the user interface and any resources it uses at compile time, so +that user interfaces written in Slint use few resources, with regards to +performance and storage. + +The Slint language enforces a separation of user interface from business logic, +using interfaces you can define for your project. This enables a fearless +cooperation between design-focused team members and those concentrating on the programming +side of the project. The Slint + The Slint design markup language describes extensible graphical user interfaces using the `Slint framework `_ diff --git a/docs/language/src/concepts/intro.md b/docs/language/src/concepts/intro.md deleted file mode 100644 index c80192e65..000000000 --- a/docs/language/src/concepts/intro.md +++ /dev/null @@ -1,19 +0,0 @@ -# The Slint Language - -Slint comes with a easy to learn and use language to describe user interfaces -with. We designed this language to be readable to both humans and machines. -Slint can thus have excellent tooling on one side, while also enabling -designers and developers to see exactly what happens by reading the code -the machine uses to provide the user interfaces with. - -This Slint language is either interpreted at run-time or compiled to native -code, which gets built into your application together with the code in the same -programming language providing the business logic. The Slint compiler can -optimize the user interface and any resources it uses at compile time, so -that user interfaces written in Slint use few resources, with regards to -performance and storage. - -The Slint language enforces a separation of user interface from business logic, -using interfaces you can define for your project. This enables a fearless -cooperation between design-focused team members and those concentrating on the programming -side of the project. The Slint