| | 41 | |
| | 42 | == Guidelines for Plugin Documentation == |
| | 43 | |
| | 44 | A plugin should normally contain three items of documentation: |
| | 45 | |
| | 46 | 1. A header table containing the plugin essentials: its title, author etc |
| | 47 | 1. A summary describing what the plugin does |
| | 48 | 1. A usage section, describing how to use the plugin |
| | 49 | |
| | 50 | The header table should normally contain at least the following: |
| | 51 | |
| | 52 | ||Name:||The name of the plugin|| |
| | 53 | ||Description:||A one line description of the plugin|| |
| | 54 | ||Author:||The name of the author of the plugin|| |
| | 55 | ||Source:||where a user can obtain the plugin, eg: http://www.MyWebSite.com/#ExamplePlugin || |
| | 56 | ||CodeRepository:||the code repository of where the plugin is stored, if any|| |
| | 57 | ||Version:||The version number of the plugin, useful for when users report bugs|| |
| | 58 | ||Status:||The plugin's status, eg released, beta etc|| |
| | 59 | ||Date:||The date when the plugin was written|| |
| | 60 | ||Comments:||A place where the user can make comments about the plugin, eg at http://groups.google.co.uk/group/TiddlyWiki || |
| | 61 | ||License:||The license for the plugin, essential if you want to allow others to use your plugin|| |
| | 62 | ||~CoreVersion:||The version of TiddlyWiki required to run the plugin (eg 2.3)|| |
| | 63 | |
| | 64 | The summary should be a short paragraph describing what the plugin does. |
| | 65 | |
| | 66 | The usage section should describe how to use the plugin, its parameters (if any) and any other things the user might need to know to use the plugin. |
| | 67 | |
| | 68 | There is an example plugin at: |
| | 69 | |
| | 70 | http://svn.tiddlywiki.org/Trunk/contributors/MartinBudden/plugins/ExamplePlugin.js |
| | 71 | |
| | 72 | that you can use for reference, or as a template for your plugins. |