From eedb68d35f577e099ee8dbf8838474d4d71b5c8f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 3 Aug 2016 22:34:48 +0200 Subject: Add support for category descriptions (as tooltips) --- API.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'API.md') diff --git a/API.md b/API.md index 10c0324..dc630d8 100644 --- a/API.md +++ b/API.md @@ -49,6 +49,8 @@ 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 * `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. -- cgit v1.2.3