mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Link to the Rust Interpreter API from the same site (#2410)
This commit is contained in:
parent
320893f349
commit
7e1d27935d
2 changed files with 4 additions and 3 deletions
3
.github/workflows/nightly_snapshot.yaml
vendored
3
.github/workflows/nightly_snapshot.yaml
vendored
|
|
@ -310,8 +310,7 @@ jobs:
|
|||
cp -a ../target/doc/* snapshots/$target_branch/docs/rust/
|
||||
|
||||
# Fix up link to Slint language documentation
|
||||
sed -i "s!https://slint-ui.com/releases/.*/docs/slint!../../slint!" snapshots/$target_branch/docs/rust/slint/*.html
|
||||
sed -i "s!https://slint-ui.com/releases/.*/docs/tutorial!../../tutorial!" snapshots/$target_branch/docs/rust/slint/*.html
|
||||
sed -i "s!https://slint-ui.com/releases/.*/docs/!../../!" snapshots/$target_branch/docs/rust/slint/*.html
|
||||
|
||||
for lang in rust cpp node; do
|
||||
mkdir -p snapshots/$target_branch/docs/tutorial/$lang
|
||||
|
|
|
|||
|
|
@ -26,7 +26,9 @@ of including them in Rust:
|
|||
|
||||
- The `.slint` code is [inline in a macro](#the-slint-code-in-a-macro).
|
||||
- The `.slint` code in [external files compiled with `build.rs`](#the-slint-code-in-external-files-is-compiled-with-buildrs)
|
||||
- The `.slint` code is loaded dynamically at run-time from the file system, by using the [interpreter API](https://docs.rs/slint-interpreter).
|
||||
*/
|
||||
#, "/docs/rust/slint_interpreter/).")]
|
||||
/*!
|
||||
|
||||
With the first two methods, the markup code is translated to Rust code and each component is turned into a Rust
|
||||
struct with functions. Use these functions to instantiate and show the component, and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue