Commit graph

9 commits

Author SHA1 Message Date
Nigel Breslaw
92534a8a27
1.9 Organise docs folder. (#7005)
Move astro files to docs/astro
2024-12-05 15:40:04 +02:00
Nigel Breslaw
ae087629e9
1.9 docs: Show snippet language
The docs don't just have Slint language files. They have Rust, Cpp, Javascript, bash, etc. This change shows a little language hint to make it clear what the language is.

It fades away on hover to be replaced by the copy/paste or open in SlintPad icons.
2024-12-03 16:21:37 +02:00
Nigel Breslaw
6a7ec46ff0
Fix type links and add Playwright test 2024-11-28 11:11:41 +02:00
Nigel Breslaw
98e5df90cb
1.9 docs tweaks (#6935)
Fix code readability issues.
Support screenshot scale.
Bring back types and tweak screenshots.
2024-11-28 00:00:32 +02:00
Nigel Breslaw
a10cdf8048
More 1.9 docs
Show hide 'run in slintpad' button with same logic as copy paste code button.
Move std-widgets into reference.
Stop using code styling for h3 headers.
Make better use of Astro to reduce runtime javascript.
Make better use of Astro to ensure UI is built at build time and isn't dynamic at runtime.
2024-11-24 18:06:55 +02:00
Aurindam Jana
0898a5f641
Tweak Docs (#6834)
---------

Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>
2024-11-20 14:27:37 +01:00
Nigel Breslaw
b7278f6ca8
Enhance docs theme
Makes the dark theme look less like 'default Starlight'.
Syntax coloring uses the dark and light-plus theme.
Types are displayed as badges.
2024-11-17 21:31:32 +02:00
Nigel Breslaw
300423d03f
Enhance new docs
Fix very broken github link.
Move some items around and group std-widgets similar to element reference.
Move Timer to elements.
Use the simpler :::tip[Tip] markdown style.
Update Astro and the link validator.
2024-11-15 13:18:58 +02:00
Nigel Breslaw
08d90a5f13
Next gen docs for 1.9 (#6766)
Co-authored-by: Aurindam Jana <aurindam.jana@slint.dev>
Co-authored-by: Tobias Hunger <tobias.hunger@slint.dev>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-11-14 15:52:35 +01:00