docs: Rename "Slint language Reference" to "Slint Language Documentation"

This commit is contained in:
Tobias Hunger 2023-02-22 17:58:28 +01:00 committed by Tobias Hunger
parent 8afdead15b
commit 39d215bee0
8 changed files with 9 additions and 9 deletions

View file

@ -83,7 +83,7 @@ jobs:
- name: "C++ Tutorial Docs" - name: "C++ Tutorial Docs"
run: mdbook build run: mdbook build
working-directory: docs/tutorial/cpp working-directory: docs/tutorial/cpp
- name: "Slint Language Reference" - name: "Slint Language Documentation"
run: cargo xtask slintdocs --show-warnings run: cargo xtask slintdocs --show-warnings
- name: "Node docs" - name: "Node docs"
run: | run: |

View file

@ -309,7 +309,7 @@ jobs:
mkdir -p snapshots/$target_branch/docs/rust mkdir -p snapshots/$target_branch/docs/rust
cp -a ../target/doc/* snapshots/$target_branch/docs/rust/ cp -a ../target/doc/* snapshots/$target_branch/docs/rust/
# Fix up link to Slint language reference # Fix up link to Slint language documentation
sed -i "s!https://slint-ui.com/releases/.*/doc/slint!../../slint!" snapshots/$target_branch/docs/rust/slint/*.html sed -i "s!https://slint-ui.com/releases/.*/doc/slint!../../slint!" snapshots/$target_branch/docs/rust/slint/*.html
mkdir -p snapshots/$target_branch/docs/tutorial/rust mkdir -p snapshots/$target_branch/docs/tutorial/rust

View file

@ -118,7 +118,7 @@ export component HelloWorld inherits Window {
} }
``` ```
Check out the [language reference](https://slint-ui.com/docs/slint) for more details. Check out the [Slint Language Documentation](https://slint-ui.com/docs/slint) for more details.
## Architecture ## Architecture

View file

@ -71,7 +71,7 @@ of elements and property bindings. Here's the obligatory "Hello World":
} }
} }
Check out the `language reference <../slint>`_ for more details. Check out the `Slint Language Documentation <../slint>`_ for more details.
Architecture Architecture
============ ============

View file

@ -15,7 +15,7 @@ This crate is the main entry point for embedding user interfaces designed with
## Related topics ## Related topics
*/ */
#![doc = concat!("* [The Slint language reference manual](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/doc/slint)")] #![doc = concat!("* [The Slint Language Documentation](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/doc/slint)")]
/*! * [Examples and Recipes](docs::recipes) /*! * [Examples and Recipes](docs::recipes)
* [Slint on Microcontrollers](docs::mcu) * [Slint on Microcontrollers](docs::mcu)
* [Debugging Techniques](docs::debugging_techniques) * [Debugging Techniques](docs::debugging_techniques)

View file

@ -176,7 +176,7 @@ cargo run --release --bin slint-viewer -- examples/printerdemo/ui/printerdemo.sl
The documentation for the different crates is built using rustdoc. The documentation for the different crates is built using rustdoc.
The language reference has snippets in the .slint language which can be previewed by injecting The language documentation has snippets in the .slint language which can be previewed by injecting
html to the documentation with the `--html-in-header` rustdoc flag. html to the documentation with the `--html-in-header` rustdoc flag.
Use the following command line to build the documentation to include preview of the .slint files. Use the following command line to build the documentation to include preview of the .slint files.

View file

@ -1,8 +1,8 @@
.. Copyright © SixtyFPS GmbH <info@slint-ui.com> .. Copyright © SixtyFPS GmbH <info@slint-ui.com>
.. SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial .. SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
Welcome to the Slint Language Reference Welcome to the Slint Language Documentation
======================================== ===========================================
Introduction Introduction
------------ ------------

View file

@ -513,7 +513,7 @@ pub use crate::SharedString;
/// Palette::get(&app).set_foreground_color(slint::Color::from_rgb_u8(255, 255, 255)); /// Palette::get(&app).set_foreground_color(slint::Color::from_rgb_u8(255, 255, 255));
/// ``` /// ```
/// ///
#[doc = concat!("See also the [language reference for global singletons](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/doc/slint/src/globals.html) for more information.")] #[doc = concat!("See also the [language documentation for global singletons](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/doc/slint/src/globals.html) for more information.")]
/// ///
/// **Note:** Only globals that are exported or re-exported from the main .slint file will /// **Note:** Only globals that are exported or re-exported from the main .slint file will
/// be exposed in the API /// be exposed in the API