summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-01-03 23:09:43 +0100
committermathieui <mathieui@mathieui.net>2015-01-03 23:09:43 +0100
commit8afbb44ceeac050c76bbdfedcd644cca384ad42e (patch)
tree636de74fe2f03e301492dcefc87a63c858f14436 /doc
parentd809ba05bf6fe597bcc6d526f82fc59ef6da63e3 (diff)
downloadpoezio-8afbb44ceeac050c76bbdfedcd644cca384ad42e.tar.gz
poezio-8afbb44ceeac050c76bbdfedcd644cca384ad42e.tar.bz2
poezio-8afbb44ceeac050c76bbdfedcd644cca384ad42e.tar.xz
poezio-8afbb44ceeac050c76bbdfedcd644cca384ad42e.zip
Add a reorder plugin
/reorder command to organize the tabs according to a fixed layout
Diffstat (limited to 'doc')
-rw-r--r--doc/source/plugins/index.rst6
-rw-r--r--doc/source/plugins/reorder.rst6
-rw-r--r--doc/stub/tabs.py2
3 files changed, 14 insertions, 0 deletions
diff --git a/doc/source/plugins/index.rst b/doc/source/plugins/index.rst
index d1f021de..9df47c3b 100644
--- a/doc/source/plugins/index.rst
+++ b/doc/source/plugins/index.rst
@@ -210,6 +210,11 @@ Plugin index
Display the time between two messages.
+ Reorder
+ :ref:`Documentation <reorder-plugin>`
+
+ Reorder the tabs according to a static layout.
+
Revstr
:ref:`Documentation <revstr-plugin>`
@@ -291,3 +296,4 @@ Plugin index
change_title
pipe_cmd
close_all
+ reorder
diff --git a/doc/source/plugins/reorder.rst b/doc/source/plugins/reorder.rst
new file mode 100644
index 00000000..a6a44244
--- /dev/null
+++ b/doc/source/plugins/reorder.rst
@@ -0,0 +1,6 @@
+.. _reorder-plugin:
+
+Reorder
+=======
+
+.. automodule:: reorder
diff --git a/doc/stub/tabs.py b/doc/stub/tabs.py
index cd3dc073..b4d23c1c 100644
--- a/doc/stub/tabs.py
+++ b/doc/stub/tabs.py
@@ -6,4 +6,6 @@ class ConversationTab(ChatTab): pass
class RosterInfoTab(Tab): pass
class XMLTab(Tab): pass
class DynamicConversationTab(Tab): pass
+class StaticConversationTab(Tab): pass
+class GapTab(Tab): pass