doc: Fix links from C++ docs to the Slint Language Documentation

Fix paths and use HTML anchors, as the markdown links won't turn into
links as the files don't exist yet in that location.
This commit is contained in:
Simon Hausmann 2023-02-23 15:20:46 +01:00
parent be74363a56
commit ecb7819e9b
3 changed files with 7 additions and 7 deletions

View file

@ -114,9 +114,9 @@ myst_heading_anchors = 2
rst_epilog = """
.. |ListView| replace:: :code:`ListView`
.. _ListView: ../slint/src/widgets.html#listview
.. _ListView: ../slint/src/builtins/widgets.html#listview
.. |Repetition| replace:: :code:`for` - :code:`in`
.. _Repetition: ../slint/src/repetitions.html
.. _Repetition: ../slint/src/reference/repetitions.html
"""