slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.64k stars 607 forks source link

Broken link to @image-url macro in Image docs #6843

Closed mgunyho closed 1 day ago

mgunyho commented 1 day ago

Bug Description

In the documentation for the Image element, the source doc says "use the @image-url macro to specify the image, but the link points to https://docs.slint.dev/latest/docs/slint/src/language/builtins/elements#../syntax/types#images which seems incorrect. I'm not sure where it should exactly point to, maybe to the image type docs here? https://docs.slint.dev/latest/docs/slint/src/language/syntax/types#images

Reproducible Code (if applicable)

No response

Environment Details

Product Impact

No response

ogoffart commented 1 day ago

Thanks a lot for reporting the issue.

We are in process of revamping our docs, and the good news is the the new docs have fixed the problem already. https://snapshots.slint.dev/master/docs/slint/reference/elements/image/#source

So this issue is fixed in the new version.