diff options
author | Wuzzy <almikes@aol.com> | 2016-08-03 22:40:33 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-03 22:40:33 +0200 |
commit | 7ee00c13365d1591613589860d12bc459c212806 (patch) | |
tree | 1bd3951858e1c8a4e8da0d0e37b225f079269c2d /API.md | |
parent | eedb68d35f577e099ee8dbf8838474d4d71b5c8f (diff) |
cat desc styleguide
Diffstat (limited to 'API.md')
-rw-r--r-- | API.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -49,8 +49,10 @@ data. * `id`: Unique category identifier as a string * `def`: Definition table, it has the following fields: * `name`: Category name to be shown in the interface - * `description`: Short description (100 characters max. recommended) - of the category (optional), will be shown as tooltip + * `description`: (optional) Short description of the category, + will be shown as tooltip. Recommended style (in English): + First letter capitalized, no puncation at end of sentence, + max. 100 characters * `build_formspec`: The template function. Takes entry data as its only parameter (has the data type of the entry data) and must return a formspec which is inserted in the Entry tab. |