The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Plugin Documentation Standards? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8) +--- Thread: Plugin Documentation Standards? (/showthread.php?tid=1771) |
Plugin Documentation Standards? - mvlcek - 2011-06-10 As mentioned e.g. in http://get-simple.info/forum/post/14630/#p14630, but also critized sometimes by our main testers like Oleg06 and Connie the documentation of plugins is not always the best. I propose to create some standards for plugin developers (in the wiki) to make it easier for the plugin users. So far I am using the following sections in my descriptions (on http://mvlcek.bplaced.net):
If the author has no homepage, I think this information should be included in the first post of the support topic (and updated if necessary on new releases). Otherwise the first post of the support task should include:
The Extend entry should include a short description and a short installation guide (and links to homepage and support topic in the resp. attributes). Should there be a plugin-name.txt with descriptions in the plugin zip? Should there be a description at the beginning of the main plugin file (currently I document the API in my plugins)? What about a license file in the plugin zips? What do you think about this? Plugin Documentation Standards? - polyfragmented - 2011-06-10 mvlcek Wrote:Otherwise the first post of the support task should include: (...)The first post should (I am strongly inclined to insert a bold MUST there...) include a link to the most recent version of the plugin in Extend. It is extremely annoying having to search the support thread for a new version if some time has passed and new posts have been added after an annoucement. New or inexperienced users are likely to consult the forum instead of Extend. Additionally, new features or squashed bugs could be mentioned. There should be no problem with clutter if only the most recent version is announced in the start post. Plugin Documentation Standards? - yojoe - 2011-06-10 How about addint a html readme (along with installation guide, usage examples etc.) inside plugin archives ? Plugin Documentation Standards? - mvlcek - 2011-06-11 yojoe Wrote:How about addint a html readme (along with installation guide, usage examples etc.) inside plugin archives ? I'd rather have only a small text file in the plugin (what it does and how to install it), as it's easier to create and easier to read without unpacking the zip. Thus I'd rather see the most important information in the support topic. There it's easy to update when a new problem/solution is found. As for examples (for frontend functionality), I suppose there is nothing better than to show it on a website. Plugin Documentation Standards? - Oleg06 - 2011-06-11 I write a text file all the information to each plugin, collected the crumbs on the forum Code: úþüÿþýõýты Plugin Documentation Standards? - Connie - 2011-06-11 absolutely necessary: All files MUST be in UTF-8! All plugins which show text and produce output MUST support Language files in a standard way (there were discussions on a central plugin-languagefile.folder but I think that would be too much demanded...) Plugin Documentation Standards? - RobA - 2011-06-11 Connie Wrote:absolutely necessary: That is a pretty big request! I know my plugins start english language only and I change them over if there is a good reception of the plugin itself (as it is a fair bit of extra works). Maybe more appropriately is stating IF is supports (or needs to support) i18n using the correct file format, and if so, which languages are available. On that topic, should a new language be added to the zip in extend, or as a language file (separate download) as I've seen both. -Rob A> Plugin Documentation Standards? - Connie - 2011-06-11 Rob, you are absolutely right. I support that. Plugin Documentation Standards? - ccagle8 - 2011-06-12 RobA Wrote:On that topic, should a new language be added to the zip in extend, or as a language file (separate download) as I've seen bothI would prefer it be the the plugin itself, but that's just my preference. Plugin Documentation Standards? - ccagle8 - 2011-06-12 mvlcek - can you create a .TXT file template that I can post on Extend that plugin authors can download and edit for their own plugins? I feel this is the best way to push the idea of pluign authors creating a readme.txt file... give them a head start. I would suggest building it in the "markdown" format so when we decide to display them on the Extend page, they will be HTML formatted. (this is the way WordPress does it when you create a plugin for them) Plugin Documentation Standards? - mvlcek - 2011-06-13 ccagle8 Wrote:mvlcek - can you create a .TXT file template that I can post on Extend that plugin authors can download and edit for their own plugins? I feel this is the best way to push the idea of pluign authors creating a readme.txt file... give them a head start. OK, I'll do it. May take a few days, though. Plugin Documentation Standards? - ccagle8 - 2011-06-13 Thanks! When youre done, post it here so we can all comment on it and make sure it's complete, yet not too complicated that no one will do it. |