Fix a few links to the docs that changed with the new structure

This commit is contained in:
Olivier Goffart 2024-02-03 09:38:49 +01:00
parent b4cddbbe18
commit 9200480b53
8 changed files with 12 additions and 12 deletions

View file

@ -121,7 +121,7 @@ myst_url_schemes = {
rst_epilog = """
.. |ListView| replace:: :code:`ListView`
.. _ListView: ../../slint/src/builtins/widgets.html#listview
.. _ListView: ../../slint/src/language/widgets/listview
.. |Repetition| replace:: :code:`for` - :code:`in`
.. _Repetition: ../../slint/src/reference/repetitions.html
"""

View file

@ -35,7 +35,7 @@ actual instance and keeps it alive as long as at least one
For more complex user interfaces it's common to supply data in the form of an
abstract data model, that's used with <a href="../slint/src/reference/repetitions.html">`for` - `in`</a>
repetitions or <a href="../slint/src/builtins/widgets.html#listview">`ListView`</a> elements in the
repetitions or <a href="../slint/src/language/widgets/listview">`ListView`</a> elements in the
`.slint` language. All models in C++ are sub-classes of the
{cpp:class}`slint::Model` and you can sub-class it yourself. For convenience,
the {cpp:class}`slint::VectorModel` provides an implementation that's backed

View file

@ -60,7 +60,7 @@ export component HelloWorld inherits Window {
}
```
then you can use the following code in you `main` function to show the [`Window`](../slint/src/builtins/elements.html#window)
then you can use the following code in you `main` function to show the [`Window`](../slint/src/language/builtins/elements#window)
and change the text:
```cpp

View file

@ -54,7 +54,7 @@ models.
More complex user interfaces commonly consume data in the form of an abstract
data model, that is used with <a href="../slint/src/reference/repetitions.html">`for` - `in`</a>
repetitions or <a href="../slint/src/builtins/widgets.html#listview">`ListView`</a> elements in the
repetitions or <a href="../slint/src/language/widgets/listview">`ListView`</a> elements in the
`.slint` language. All models in C++ with the interpreter API are sub-classes
of the {cpp:class}`slint::Model` where the template parameter is
{cpp:class}`slint::interpreter::Value`. To provide your own data model, you can