Repository: slint-ui/slint (language: rust)

Issue:
Docs: broken links to backend api
### Bug Description

A couple of links in https://docs.slint.dev/latest/docs/slint/guide/language/coding/file/#component-libraries are broken and browsers ask system to open such urls externally.

`with_library_paths` -> `slint-build-rust:struct.CompilerConfiguration#method.with_library_paths`
This should be https://docs.slint.dev/latest/docs/rust/slint_build/struct.CompilerConfiguration#method.with_library_paths

`slint_target_sources` -> `slint-cpp:cmake_reference#slint-target-sources`
This should be https://docs.slint.dev/latest/docs/cpp/cmake_reference#slint-target-sources


### Reproducible Code (if applicable)

_No response_

### Environment Details

- Slint Version:
- Platform/OS:
- Programming Language:
- Backend/Renderer:


### Product Impact

_No response_


Discussion / hints:

Fix patch:
diff --git a/docs/astro/src/content/docs/guide/language/coding/file.mdx b/docs/astro/src/content/docs/guide/language/coding/file.mdx
index 66116a7da77..ca4fef20ad4 100644
--- a/docs/astro/src/content/docs/guide/language/coding/file.mdx
+++ b/docs/astro/src/content/docs/guide/language/coding/file.mdx
@@ -338,9 +338,9 @@ The path to each library, as file or directory, must be defined separately at co
 Use one of the following methods to help the Slint compiler resolve libraries to the correct
 path on disk:
 
-* When using Rust and `build.rs`, call [`with_library_paths`](slint-build-rust:struct.CompilerConfiguration#method.with_library_paths)
+* When using Rust and `build.rs`, call [`with_library_paths`](https://slint.dev/docs/rust/slint_build/struct.CompilerConfiguration#method.with_library_paths)
   to provide a mapping from library name to path.
-* When using C++, use `LIBRARY_PATHS` with [`slint_target_sources`](slint-cpp:cmake_reference#slint-target-sources).
+* When using C++, use `LIBRARY_PATHS` with [`slint_target_sources`](https://slint.dev/docs/cpp/cmake_reference#slint-target-sources).
 * When invoking the `slint-viewer` from the command line, pass `-Lmylibrary=/path/to/my/library` for each component
   library.
 * When using the VS Code extension, configure the Slint extension's library path


Test patch: