Making WordPress.org

Ticket #1216: readme.txt

File readme.txt, 4.3 KB (added by DvanKooten, 10 years ago)

Sample readme.txt

Line 
1=== Plugin Name ===
2Contributors: (this should be a list of wordpress.org userid's)
3Donate link: http://example.com/
4Tags: comments, spam
5Requires at least: 3.0.1
6Tested up to: 3.4
7Stable tag: 4.3
8License: GPLv2 or later
9License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11Here is a short description of the plugin.  This should be no more than 150 characters.  No markup here.
12
13== Description ==
14
15This is the long description.  No limit, and you can use Markdown (as well as in the following sections).
16
17`
18#sample-css { color: red; }
19`
20
21= This will not be visible =
22
23For backwards compatibility, if this section is missing, the full length of the short description will be used, and
24Markdown parsed.
25
26A few notes about the sections above:
27
28*   "Contributors" is a comma separated list of wp.org/wp-plugins.org usernames
29*   "Tags" is a comma separated list of tags that apply to the plugin
30*   "Requires at least" is the lowest version that the plugin will work on
31*   "Tested up to" is the highest version that you've *successfully used to test the plugin*. Note that it might work on
32higher versions... this is just the highest one you've verified.
33*   Stable tag should indicate the Subversion "tag" of the latest stable version, or "trunk," if you use `/trunk/` for
34stable.
35
36    Note that the `readme.txt` of the stable tag is the one that is considered the defining one for the plugin, so
37if the `/trunk/readme.txt` file says that the stable tag is `4.3`, then it is `/tags/4.3/readme.txt` that'll be used
38for displaying information about the plugin.  In this situation, the only thing considered from the trunk `readme.txt`
39is the stable tag pointer.  Thus, if you develop in trunk, you can update the trunk `readme.txt` to reflect changes in
40your in-development version, without having that information incorrectly disclosed about the current stable version
41that lacks those changes -- as long as the trunk's `readme.txt` points to the correct stable tag.
42
43    If no stable tag is provided, it is assumed that trunk is stable, but you should specify "trunk" if that's where
44you put the stable version, in order to eliminate any doubt.
45
46== Installation ==
47
48This section describes how to install the plugin and get it working.
49
50e.g.
51
521. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
531. Activate the plugin through the 'Plugins' menu in WordPress
541. Place `<?php do_action('plugin_name_hook'); ?>` in your templates
55
56== Frequently Asked Questions ==
57
58= A question that someone might have =
59
60An answer to that question.
61
62= What about foo bar? =
63
64Answer to foo bar dilemma.
65
66== Screenshots ==
67
681. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
69the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
70directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
71(or jpg, jpeg, gif).
722. This is the second screen shot
73
74== Changelog ==
75
76= 1.0 =
77* A change since the previous version.
78* Another change.
79
80= 0.5 =
81* List versions from most recent at top to oldest at bottom.
82
83== Upgrade Notice ==
84
85= 1.0 =
86Upgrade notices describe the reason a user should upgrade.  No more than 300 characters.
87
88= 0.5 =
89This version fixes a security related bug.  Upgrade immediately.
90
91== Arbitrary section ==
92
93You may provide arbitrary sections, in the same format as the ones above.  This may be of use for extremely complicated
94plugins where more information needs to be conveyed that doesn't fit into the categories of "description" or
95"installation."  Arbitrary sections will be shown below the built-in sections outlined above.
96
97== A brief Markdown Example ==
98
99Ordered list:
100
1011. Some feature
1021. Another feature
1031. Something else about the plugin
104
105Unordered list:
106
107* something
108* something else
109* third thing
110
111Here's a link to [WordPress](http://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax].
112Titles are optional, naturally.
113
114[markdown syntax]: http://daringfireball.net/projects/markdown/syntax
115            "Markdown is what the parser uses to process much of the readme file"
116
117Markdown uses email style notation for blockquotes and I've been told:
118> Asterisks for *emphasis*. Double it up  for **strong**.
119
120`<?php code(); // goes in backticks ?>`