summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-02-06 20:56:54 +0100
committermathieui <mathieui@mathieui.net>2021-02-08 23:08:31 +0100
commit80ee551acdb2c0548df4a2e08d501589a73a192a (patch)
treecc0b9c552e7f8d89f309e7f205a39d4f237f195e
parentf0601cdb84edd557a82514a25c8757c62873b4e1 (diff)
downloadslixmpp-80ee551acdb2c0548df4a2e08d501589a73a192a.tar.gz
slixmpp-80ee551acdb2c0548df4a2e08d501589a73a192a.tar.bz2
slixmpp-80ee551acdb2c0548df4a2e08d501589a73a192a.tar.xz
slixmpp-80ee551acdb2c0548df4a2e08d501589a73a192a.zip
docs: fix links to stanza doc
-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
~~~~~~~~~~~~