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