-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put back missing _templates to fix nightly snapshots
- Loading branch information
1 parent
04a870a
commit ebd1c2e
Showing
7 changed files
with
138 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ Files: .github/issue_template.md .github/pull_request_template.md | |
Copyright: Copyright © SixtyFPS GmbH <[email protected]> | ||
License: MIT | ||
|
||
Files: docs/_templates/*.md | ||
Files: docs/src/utils/_templates/*.md | ||
Copyright: Copyright © SixtyFPS GmbH <[email protected]> | ||
License: MIT | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Embedded Tutorial template | ||
|
||
|
||
<!-- Copy and use as a basis --> | ||
|
||
Start with an introduction to the tutorial. Include the following: | ||
|
||
- What will the reader learn by the end of it? | ||
- What hardware, and architecture combination is this tutorial designed for? | ||
|
||
## Known limitations | ||
|
||
Does this platform and architecture combination have any limitations, issues, etc? | ||
|
||
## Prerequisites | ||
|
||
- What must a reader have available or installed to follow this tutorial? | ||
- Slint language SDKs (seems obvious, but always worth providing people with a path back to earlier concepts) | ||
- Are there any prerequisites for the language SDK for this hardware or architecture combination? | ||
- For example can it only run versions up to a particular number, etc? | ||
- The SDK for their board, etc | ||
- Are any other dependencies needed for Slint to work on this setup? | ||
- Windowing systems, headers, IDE plugins | ||
- Slint supports Wayland, X-Windows, glibc, and d-bus | ||
- Build systems | ||
- Input and output drivers | ||
- What should they have ideally followed or understood before starting this tutorial? | ||
- The quickstart, the introduction? | ||
- Are there any external tutorials or resources specific to running Slint or a Slint-compatible language on the setup? | ||
|
||
## Develop application | ||
|
||
Suggest following the getting started tutorial. Note any special build steps required for the hardware, architecture, and software combination. | ||
|
||
## Debugging techniques | ||
|
||
Detail how people can test and debug an application running on another device. | ||
|
||
## Conclusion and summary | ||
|
||
- What did the reader learn in this tutorial and what should they read or do next? | ||
- Does this platform and/or software combination require licensing? Then provide details on how to get in touch. | ||
- Is there any other reason someone should get in touch with the Slint team about this platform and software combination? Then provide details on how to get in touch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
This GitHub release is a nightly snapshot of Slint development. It serves to provide access to pre-release binaries. | ||
|
||
The attached binaries are updated once a day by a GitHub action building from the `master` branch. | ||
|
||
## How To Try Out This Development Release | ||
|
||
### Rust | ||
|
||
For Rust users, include the following in your Cargo.toml (or .cargo/config.toml): | ||
|
||
```toml | ||
[patch.crates-io] | ||
slint = { git = "https://github.com/slint-ui/slint" } | ||
slint-build = { git = "https://github.com/slint-ui/slint" } | ||
``` | ||
|
||
Please note: All Slint dependencies need to be on the same revision. To update and run, use `cargo update` and `cargo run`. | ||
Make sure the log shows you are building the right version of Slint. | ||
|
||
|
||
### C++ | ||
|
||
For C++ users with a binary package, download the binary from the "Assets" section below. | ||
|
||
If you're building from source with CMake's `FetchContent`, change the `GIT_TAG` to `master`: | ||
|
||
```cmake | ||
FetchContent_Declare( | ||
Slint | ||
GIT_REPOSITORY https://github.com/slint-ui/slint.git | ||
GIT_TAG master # Change this to master | ||
SOURCE_SUBDIR api/cpp | ||
) | ||
``` | ||
|
||
Remember to remove your build directory and re-run cmake. | ||
|
||
### JavaScript / Node.js | ||
|
||
Run `npm install slint-ui@nightly` to install or upgrade. This works for new and existing projects. | ||
|
||
### Editors / IDEs | ||
|
||
For VSCode, you download the ["Slint (Nightly)" extension from the Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Slint.slint-nightly). | ||
Note that you need to disable or uninstall an existing version of the Slint VS Code extension. | ||
|
||
For other editors, you compile the latest version of the Slint Language Server with: | ||
|
||
```sh | ||
cargo install --git https://github.com/slint-ui/slint slint-lsp | ||
``` | ||
|
||
Alternatively, download the binary from "Assets" section below. | ||
|
||
### Online Demos and Documentation | ||
|
||
- Documentation: https://slint.dev/snapshots/master/docs | ||
- SlintPad: https://slint.dev/snapshots/master/editor | ||
- Demos: links from https://github.com/slint-ui/slint/tree/master/examples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Assets | ||
|
||
## C++ SDK | ||
|
||
For C++ developers, this release contains the follwing pre-packed builds of Slint: | ||
|
||
| Desktop Operating System | Compiler | Architecture | Download | | ||
|--------------------------|----------|--------------|----------| | ||
| Linux | gcc | x86-64 | [Slint-cpp-{download_version}-Linux-x86_64.tar.gz](https://github.com/slint-ui/slint/releases/download/{download_version}/Slint-cpp-{download_version}-Linux-x86_64.tar.gz) | | ||
| Windows | MSVC | x86-64 | [Slint-cpp-{download_version}-win64-MSVC.exe](https://github.com/slint-ui/slint/releases/download/{download_version}/Slint-cpp-{download_version}-win64-MSVC.exe) | | ||
|
||
| Templates for Microcontroller Evaluation Board | Download | | ||
|----------------------------------|----------| | ||
| [STM32H747I-DISCO](https://www.st.com/en/evaluation-tools/stm32h747i-disco.html): Dual-core Arm M7/M4 MCU with 4” touch LCD display module | [slint-cpp-template-stm32h747i-disco.zip](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-cpp-template-stm32h747i-disco.zip) | | ||
| [STM32H735G-DK](https://www.st.com/en/evaluation-tools/stm32h735g-dk.html): Arm M7 MCU with 4” touch LCD display module | [slint-cpp-template-stm32h735g-dk.zip](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-cpp-template-stm32h735g-dk.zip) | | ||
|
||
## Tool Binaries | ||
|
||
| Add-on | Linux x86-64 | Windows | macOS | | ||
|-----------|--------------|---------|-------| | ||
| **slint-lsp** | [slint-lsp-linux.tar.gz](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-lsp-linux.tar.gz) | [slint-lsp-windows.zip](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-lsp-windows.zip) | [slint-lsp-macos.tar.gz](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-lsp-macos.tar.gz) | | ||
| **slint-viewer** | [slint-viewer-linux.tar.gz](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-viewer-linux.tar.gz) | [slint-viewer-windows.zip](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-viewer-windows.zip) | [slint-viewer-macos.tar.gz](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-viewer-macos.tar.gz) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Slint {version} is a patch release that fixes several bugs and crashes. For a complete list of changes, check out the [ChangeLog](https://github.com/slint-ui/slint/blob/master/CHANGELOG.md). | ||
|
||
Upgrading to Slint {version}: | ||
|
||
* Rust: Run `cargo update`. | ||
* C++: If you're using `FetchContent` with CMake, update the GIT_TAG entry in CMakeLists.txt to `v{version}` or `release/{major_version}.{minor_version}` for automatic tracking of {major_version}.{minor_version}.x releases. | ||
* Node.js: Run `npm update slint-ui` to bring your `package.json` up-to-date. | ||
* ESP-IDF developers: Run `idf.py update-dependencies` to bring your idf_component.yml up-to-date. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters