Group by category

This commit is contained in:
Václav Volhejn 2025-10-01 22:21:03 +02:00
parent 0ecacae71e
commit df54404733
3 changed files with 63 additions and 20 deletions

View file

@ -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 };