docs: fix links to stanza doc

This commit is contained in:
mathieui 2021-02-06 20:56:54 +01:00
parent f0601cdb84
commit 80ee551acd
2 changed files with 7 additions and 2 deletions

View file

@ -99,8 +99,8 @@ of an interface defined by the parent.
.. seealso:: .. seealso::
- :ref:`create-stanza-plugins` - :ref:`create-stanza-plugins`
- :ref:`create-extension-plugins` - :ref:`is_extension`
- :ref:`override-parent-interfaces` - :ref:`overrides`
Registering Stanza Plugins Registering Stanza Plugins

View file

@ -327,6 +327,9 @@ Which will produces the following:
We can see that ``bool_interfaces`` allows to quickly create sub-elements with no We can see that ``bool_interfaces`` allows to quickly create sub-elements with no
content, without the need to create a custom class or getter/setter. content, without the need to create a custom class or getter/setter.
.. _overrides:
overrides overrides
~~~~~~~~~ ~~~~~~~~~
@ -350,6 +353,8 @@ parent ``interfaces`` with the same name.
parent = Parent() parent = Parent()
parent['toto'] = 'test' # equivalent to parent['sub']['toto'] = "test" parent['toto'] = 'test' # equivalent to parent['sub']['toto'] = "test"
.. _is_extension:
is_extension is_extension
~~~~~~~~~~~~ ~~~~~~~~~~~~