Commit graph

9 commits

Author SHA1 Message Date
Tobias Hunger
3d6aba514b docsnapper: Print erros in red
Highlight errors in red when running docsnapper in a terminal.

Print "[error]" in all cases as apparently Github will highlight that in red in CI run logs
(which are not considered to be in a terminal).
2025-08-25 15:27:53 +02:00
Simon Hausmann
00b0f1e314 slint-docsnapper: Extend support for astro projects with a .ts config file 2025-07-02 14:11:00 +02:00
Yuri Astrakhan
6324b35e94 Auto-fixed clippy::needless_borrow
`__CARGO_FIX_YOLO=1` is a hack, but it does help a lot with the tedious fixes where the result is fairly clear.

See https://rust-lang.github.io/rust-clippy/master/index.html#/needless_borrow

```
__CARGO_FIX_YOLO=1 cargo clippy --fix --all-targets --workspace --exclude gstreamer-player --exclude i-slint-backend-linuxkms --exclude uefi-demo --exclude ffmpeg -- -A clippy::all -W clippy::needless_borrow

cargo fmt --all
```
2025-02-07 09:02:45 +01:00
Tasuku Suzuki
346d1c2df3 Fix typos
Ran `typos .` and fixed all typos that do make sense.
https://crates.io/crates/typos
2025-01-13 08:35:20 +01:00
Olivier Goffart
3e94bd2167 Janitor: Remove trailing whitespaces from all files
`git grep -I -l -O'sed -i "s/[[:space:]]*$//"' -e ''`
2025-01-10 13:23:22 +01:00
Tobias Hunger
c6839a77a6 docsnapper: Allow for scale="<f32>" in docsnapper options 2024-11-26 17:04:15 +01:00
Tobias Hunger
5dc1d89586 docsnapper: Set window size based on input from the docs 2024-11-26 17:04:15 +01:00
Tobias Hunger
5ba64807fb docsnapper: Sort files to make output more reproducible
... and report an error if reading an entry in a directory failed
2024-11-26 16:10:21 +01: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