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:
Simon Hausmann 2023-07-10 10:05:27 +02:00 committed by Simon Hausmann
parent 5a4a7fee63
commit d8fe052cde
2 changed files with 5 additions and 6 deletions

View file

@ -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
"""