Group by category
This commit is contained in:
parent
0ecacae71e
commit
df54404733
3 changed files with 63 additions and 20 deletions
|
|
@ -12,6 +12,14 @@ function defineTags(dictionary) {
|
|||
doclet.synonyms = doclet.synonyms_text.split(/[ ,]+/);
|
||||
},
|
||||
});
|
||||
|
||||
dictionary.defineTag('group', {
|
||||
mustHaveValue: true,
|
||||
onTagged: function (doclet, tag) {
|
||||
doclet.group = tag.value;
|
||||
console.log('TAGGED GROUP:', doclet.group);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = { defineTags: defineTags };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue