mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
Fix bad red markup in C++ slint::Model docs
Revert da95051 and fix the link in the substitution instead.
Fixes #2992
This commit is contained in:
parent
5a4a7fee63
commit
d8fe052cde
2 changed files with 5 additions and 6 deletions
|
|
@ -115,9 +115,9 @@ myst_heading_anchors = 2
|
|||
|
||||
rst_epilog = """
|
||||
.. |ListView| replace:: :code:`ListView`
|
||||
.. _ListView: ../slint/src/builtins/widgets.html#listview
|
||||
.. _ListView: ../../slint/src/builtins/widgets.html#listview
|
||||
.. |Repetition| replace:: :code:`for` - :code:`in`
|
||||
.. _Repetition: ../slint/src/reference/repetitions.html
|
||||
.. _Repetition: ../../slint/src/reference/repetitions.html
|
||||
"""
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -678,10 +678,9 @@ auto access_array_index(const M &model, size_t index)
|
|||
} // namespace private_api
|
||||
|
||||
/// \rst
|
||||
/// A Model is providing Data for
|
||||
/// `for - in<../../slint/src/reference/repetitions.html>`_ repetitions or
|
||||
/// `ListView<../../slint/src/builtins/widgets.html#listview>`_ elements of the :code:`.slint`
|
||||
/// language \endrst
|
||||
/// A Model is providing Data for |Repetition|_ repetitions or |ListView|_ elements of the
|
||||
/// :code:`.slint` language
|
||||
/// \endrst
|
||||
template<typename ModelData>
|
||||
class Model
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue