summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/api/xmlstream/stanzabase.rst4
-rw-r--r--docs/howto/stanzas.rst5
2 files changed, 7 insertions, 2 deletions
diff --git a/docs/api/xmlstream/stanzabase.rst b/docs/api/xmlstream/stanzabase.rst
index ad43a44a..c061648c 100644
--- a/docs/api/xmlstream/stanzabase.rst
+++ b/docs/api/xmlstream/stanzabase.rst
@@ -99,8 +99,8 @@ of an interface defined by the parent.
.. seealso::
- :ref:`create-stanza-plugins`
- - :ref:`create-extension-plugins`
- - :ref:`override-parent-interfaces`
+ - :ref:`is_extension`
+ - :ref:`overrides`
Registering Stanza Plugins
diff --git a/docs/howto/stanzas.rst b/docs/howto/stanzas.rst
index 56dfce79..97178f36 100644
--- a/docs/howto/stanzas.rst
+++ b/docs/howto/stanzas.rst
@@ -327,6 +327,9 @@ Which will produces the following:
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.
+
+.. _overrides:
+
overrides
~~~~~~~~~
@@ -350,6 +353,8 @@ parent ``interfaces`` with the same name.
parent = Parent()
parent['toto'] = 'test' # equivalent to parent['sub']['toto'] = "test"
+.. _is_extension:
+
is_extension
~~~~~~~~~~~~