mirror of
https://github.com/slint-ui/slint.git
synced 2025-07-13 16:15:18 +00:00
docs: Fix dead links between docs
... and add in text that went missing in the Globals section of the rust docs.
This commit is contained in:
parent
4ca6fd53c9
commit
da95051db1
2 changed files with 7 additions and 6 deletions
|
@ -619,9 +619,10 @@ auto access_array_index(const M &model, size_t index)
|
||||||
} // namespace private_api
|
} // namespace private_api
|
||||||
|
|
||||||
/// \rst
|
/// \rst
|
||||||
/// A Model is providing Data for |Repetition|_ repetitions or |ListView|_ elements of the
|
/// A Model is providing Data for
|
||||||
/// :code:`.slint` language
|
/// `for - in<../../slint/src/reference/repetitions.html>`_ repetitions or
|
||||||
/// \endrst
|
/// `ListView<../../slint/src/builtins/widgets.html#listview>`_ elements of the :code:`.slint`
|
||||||
|
/// language \endrst
|
||||||
template<typename ModelData>
|
template<typename ModelData>
|
||||||
class Model
|
class Model
|
||||||
{
|
{
|
||||||
|
|
|
@ -55,7 +55,7 @@ fn main() {
|
||||||
### The .slint code in external files is compiled with `build.rs`
|
### The .slint code in external files is compiled with `build.rs`
|
||||||
|
|
||||||
When your design becomes bigger in terms of markup code, you may want move it to a dedicated*/
|
When your design becomes bigger in terms of markup code, you may want move it to a dedicated*/
|
||||||
#, "/doc/slint/src/modules.html).")]
|
#, "/docs/slint/src/reference/modules.html).")]
|
||||||
/*!Use a [build script](https://doc.rust-lang.org/cargo/reference/build-scripts.html) to compile
|
/*!Use a [build script](https://doc.rust-lang.org/cargo/reference/build-scripts.html) to compile
|
||||||
your main `.slint` file:
|
your main `.slint` file:
|
||||||
|
|
||||||
|
@ -206,8 +206,8 @@ struct MyStruct {
|
||||||
## Exported Global singletons
|
## Exported Global singletons
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#, "/doc/slint/src/globals.html) from the main file,.")]
|
#, "/docs/slint/src/reference/globals.html) from the main file,")]
|
||||||
/* it is also generated with the exported name. Like the main component, the generated struct have
|
/*! it is also generated with the exported name. Like the main component, the generated struct have
|
||||||
inherent method to access the properties and callback:
|
inherent method to access the properties and callback:
|
||||||
|
|
||||||
For each property
|
For each property
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue