From b846fc4ba9398a78db20f0f97488afa65e2ead53 Mon Sep 17 00:00:00 2001 From: tonio Date: Wed, 19 Jan 2011 15:37:23 +0100 Subject: [PATCH] Documentation update. (finally it was not the final version) --- doc/plugin_api.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/plugin_api.rst b/doc/plugin_api.rst index 240834f4f..ab28372b0 100644 --- a/doc/plugin_api.rst +++ b/doc/plugin_api.rst @@ -36,8 +36,9 @@ directory. To create a new plugin, execute the following steps: * Move the resulting directory inside the ``extensions`` one, * Create a file called ``main.py`` inside your plugin's directory. -The last file you created must follow a specific structure in order to -be interpreted by Modoboa. The following functions are mandatory:: +The last file you created (ie. ``main.py``) must follow a specific +structure in order to be interpreted by Modoboa. The following +functions are mandatory:: def init(): """This function is called when Modoboa loads available and activated plugins.