Glossary Builder
A custom Now builder that can generate a glossary of
terms organised by collections and languages.
Getting started
In your now.json
file:
{
"version": 2,
"builds": [
{
"src": "null",
"use": "@mathspace/glossary-builder",
"config": {
"title": "My Glossary",
"data": "data.yml"
}
}
]
}
In your data.yml
file:
---
type: language
id: en
parent:
title: English
---
type: collection
id: a
parent:
title: Collection A
---
type: definition-set
id: thing
---
type: definition
id: a
language: language/en
collection:
definitionSet: definition-set/thing
title: A Thing
body:
It's a thing.