From 1a349efeb17ede2e744eb94c4217081a384af8b2 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 11 May 2013 18:38:12 +0200 Subject: Update the documentation (do not encourage people to copy the plugins) --- doc/source/plugins/index.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/source/plugins/index.rst') diff --git a/doc/source/plugins/index.rst b/doc/source/plugins/index.rst index 80fb6f9a..5fbbfdc2 100644 --- a/doc/source/plugins/index.rst +++ b/doc/source/plugins/index.rst @@ -8,12 +8,16 @@ Here is a quick howto and a plugin index. Setting up plugins ------------------ + Poezio seeks the plugins in the :file:`~/.local/share/poezio/plugins/` dir (more generally, the :file:`$XDG_DATA_HOME/poezio/plugins/` dir), but that can be changed by setting the :term:`plugins_dir` option to the directory where you want to put your plugins. -This means that if you want to use a plugin, you have to copy it (the .py file or the directory) into :term:`plugins_dir`. +By default, poezio will also seek the plugins in :file:`../plugins`, in the source +directory, in order to always load the latest versions. You should put a plugin +in :file:`$XDG_DATA_HOME/poezio/plugins` only if you have a custom version (that +will override the one in :file:`../plugins`), or if it is a plugin you made. Plugin autoload -- cgit v1.2.3