mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
C++ docs: For the model bits, link to the for-in and ListView docs
Using an rst epiloge we can define global references that are even formatted (using rst substitutions)
This commit is contained in:
parent
decd151b84
commit
f8abd57c3b
2 changed files with 12 additions and 3 deletions
|
@ -101,5 +101,12 @@ myst_enable_extensions = [
|
|||
# Annotate h1/h2 elements with anchors
|
||||
myst_heading_anchors = 2
|
||||
|
||||
rst_epilog = """
|
||||
.. |ListView| replace:: :code:`ListView`
|
||||
.. _ListView: ../markdown/widgets.html#listview
|
||||
.. |Repetition| replace:: :code:`for` - :code:`in`
|
||||
.. _Repetition: ../markdown/langref.html#repetition
|
||||
"""
|
||||
|
||||
def setup(app):
|
||||
app.add_css_file('theme_tweak.css')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue