Commit graph

641 commits

Author SHA1 Message Date
Simon Hausmann
d596f476cf Remove leaked HTML comment 2023-03-03 13:17:11 +01:00
Simon Hausmann
979256142a doc: From Text's text property, link to the string handling
As pointed out by Miłosz, users of this property may very likely be also
interested in string formatting / interpolation.
2023-03-02 13:58:44 +01:00
Tobias Hunger
f81b5bfc1a docs: Add more links to docs landing page 2023-03-01 20:15:39 +01:00
Tobias Hunger
0c2c80abcc docs: Use proper slint names on docs landing page 2023-03-01 20:15:39 +01:00
Tobias Hunger
f23c5815a8 docs: Make docs landing page one column wide on mobile 2023-03-01 20:15:39 +01:00
Tobias Hunger
fbdcde7711 docs: Fix image location in docs landing page 2023-03-01 20:15:39 +01:00
Tobias Hunger
6540c4ae34 docs: Remove unnecessary CSS code from docs landing page 2023-03-01 20:15:39 +01:00
Tobias Hunger
e9fc3d6025 docs: Hide table of contents in main area 2023-03-01 18:36:21 +01:00
Miłosz Kosobucki
d7bfca8efa Fix TouchArea doc
Incorrect wording, likely due to copy&paste
2023-02-27 16:10:11 +01:00
Simon Hausmann
5a0259b858 CI: Add the energy monitor to the demo builds for embedded and WASM 2023-02-27 10:10:07 +01:00
Tobias Hunger
42d1fbdbcf
docs: Use it's, etc. more consistently (#2287) 2023-02-24 17:42:22 +01:00
Tobias Hunger
5b347e0b13 Add @tronical's suggestions
... and more links ...
2023-02-24 16:09:11 +01:00
Tobias Hunger
ba99dc96a7 docs: Add some doc comments to enums
Update enumdocs xtask to generate the right file...
2023-02-24 16:09:11 +01:00
Tobias Hunger
1f877887cd docs: Remove builtin_ prefix from files in builtins dir 2023-02-24 12:04:22 +01:00
Tobias Hunger
f7de5d4602
docs: Go over builtin_elements.md (#2280)
Co-authored-by: Simon Hausmann <hausmann@gmail.com>
2023-02-24 11:03:56 +01:00
Simon Hausmann
be74363a56 doc: Remove the code snippet selection
All the snippets are now in the common sphinx "book", where we don't
know about the target language anymore. So for now let's let the user
expand the details tag based on what they want.

We can resurrect this code from the archive later if needed.
2023-02-23 14:59:27 +01:00
Simon Hausmann
210c86acd5 doc: Move the files belonging to the builtins into a sub-folder 2023-02-23 14:56:44 +01:00
Simon Hausmann
a54ae3068f doc: Move the files belonging to the reference into a sub-folder 2023-02-23 14:52:26 +01:00
Simon Hausmann
8ee5f02334 doc: Remove Concepts -> Concepts sub entry in the Concepts toc 2023-02-23 14:23:12 +01:00
Simon Hausmann
7e843a30d8 doc: Move the recipes into the Slint Language Documentation 2023-02-23 14:20:10 +01:00
Tobias Hunger
2767e6ac39
docs: Merge sub-chapters into the types topic 2023-02-23 14:04:29 +01:00
Tobias Hunger
eec9d31809
docs: Sort and update widgets page in language docs 2023-02-23 13:49:40 +01:00
Simon Hausmann
96fd2d0c7c Doc: Fix broken links 2023-02-23 11:48:35 +01:00
Simon Hausmann
8badc9fddb doc: Remove non-existent index for the slint language docs
Sadly an index is not generated for us with myst-parser :(
2023-02-23 11:48:35 +01:00
Simon Hausmann
d9b0a32d1c doc: Don't repeat the section title in the sub-section title 2023-02-23 11:48:35 +01:00
Simon Hausmann
84a5c85347 doc: Don't show images, structs, arrays and models, and conversions _under_ Colors and Brushes in the toc tree 2023-02-23 11:48:35 +01:00
Simon Hausmann
a61cbd74a3 Move purity to the end of concepts
Preference of priority ;-)
2023-02-23 11:48:35 +01:00
Simon Hausmann
11a3d82f45 Sync the book "title" with the new title we use 2023-02-23 11:48:35 +01:00
Simon Hausmann
8eb0b34439 doc: Shorten the caption titles
It's all in the Slint Language Documentation, so we can make remove the Slint prefix
2023-02-23 11:48:35 +01:00
Tobias Hunger
0867aa1ed9 docs: Move slint language docs from langref to language folder 2023-02-22 21:13:47 +01:00
Tobias Hunger
39d215bee0 docs: Rename "Slint language Reference" to "Slint Language Documentation" 2023-02-22 21:13:47 +01:00
Simon Hausmann
8afdead15b Fix links on the intro page
Use rst references instead of markdown syntax for links. Also enable the
extension to generate targets automatically.
2023-02-22 18:34:58 +01:00
Tobias Hunger
78892cdf1f docs: Fix broken links in our docs. 2023-02-22 17:08:30 +01:00
Tobias Hunger
e34cbd5446
docs: Polish the langref concepts (#2241)
Lots of back and forth on formulations.

Co-authored-by: Simon Hausmann <hausmann@gmail.com>
Co-authored-by: Olivier Goffart <olivier@woboq.com>
2023-02-22 10:22:18 +01:00
Florian Blasius
1b04601750
std-list-view: bring selected into view (#2246)
* std-list-view: bring selected into view

* Update internal/compiler/widgets/fluent-base/std-widgets-base.slint

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>

* code review

---------

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
2023-02-17 13:50:09 +01:00
Tobias Hunger
ef28eb80c4
docs: Split up concepts.md in the langref concepts section 2023-02-16 11:25:06 +01:00
Tobias Hunger
582b07e61c
docs: Move langref concepts into a separate folder 2023-02-16 11:25:02 +01:00
Olivier Goffart
fd6c80a590 Set MSRV to 1.66 2023-02-16 09:03:22 +01:00
Tobias Hunger
1a31c9a50b
docs: Polish the C++ docs (#2229) 2023-02-15 15:47:45 +01:00
Tobias Hunger
e1e4be2497
Use sphinx to generate the Slint language reference (#2218)
* docs: Move the langref to sphinx

* docs: Use sphinx to build nighly doc snapshot of langref
2023-02-10 11:51:36 +01:00
Olivier Goffart
6889dfa5f5 Rust: Make new(), run() and show() report errors from the backend
Fixes #2198
2023-02-10 05:00:03 +01:00
Tobias Hunger
e8ee468cc6 xtask: Sort enums when generating enum docs
It's much easier for humans to find entries that way!
2023-02-09 18:31:34 +01:00
Tobias Hunger
e64e15e277 docs: Modernize the tutorials for 1.0 2023-02-09 16:59:25 +01:00
Simon Hausmann
f59428f029
Fix distro name 2023-02-08 18:40:39 +01:00
Simon Hausmann
f45c4d09b1 Add some basic readme about running the Torizon demos 2023-02-08 17:50:07 +01:00
Tobias Hunger
6e6d8f2d48 docs: Update highlight definition
Add new 1.0 keywords into highlight definition, sort keywords and remove
duplicates.
2023-02-08 14:20:18 +01:00
Tobias Hunger
cd43270293
docs: Polish Slint language reference (#2193)
Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
Co-authored-by: Olivier Goffart <olivier.goffart@slint-ui.com>
2023-02-08 11:34:42 +01:00
Tobias Hunger
1370bd771f docs: Add tutorials to docs summary page 2023-02-07 12:10:07 +01:00
Tobias Hunger
d93445bd0b docs: Remove inline langref documentation and link the mdbook
For node and cpp, I use relative links to point to the slint language
reference documentation.

For the slint crate documentation I create a link to
https://slint-ui.com/releases/VERSION/... instead: This needs to work from
docs.rs as well as from our own docs area on slint-ui.com! That is
pretty ugly: I can not even define constants for this as the crate docs
need to come before anything else.
2023-02-07 12:10:07 +01:00
Tobias Hunger
5891f7e478 docs: Add index.html into the docs area
Add a simple index.html to the docs area and link to the supported
languages from there.
2023-02-07 12:10:07 +01:00