The intention is to generate different versions of the term list for different audiences, for example internal and external.
The term list used in this repository is based on this published glossary: Glossary of IoT terms.
Currently, the Python script regenerates the published glossary and contributor guide term list from the YAML source.
-
Requires Python 3 and the
regex
andslugify
modules - use the VS Code extension for debugging: https://marketplace.visualstudio.com/items?itemName=ms-python.python -
To run the script:
python3 parse-term-list.py full-iot-term-list.yaml customer-facing
Also includes a YAML schema to assist editing the YAML term list in VS Code:
-
YAML schema relies on the YAML extension: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml
-
Settings in VS Code look like:
"yaml.schemas": { "./term-list.schema.json": [ "*-term-list.yaml" ] }
- Make sure that automatic cross-linking works for acronymns as well as full terms.
- Some kind of validation on "See also" entries - although errors are picked up when the markdown is submitted in a PR.
- Linking needs work. We want to use relative or site relative links for "learn more" and manual links in definition, but the generated links may need to different for customer facing glossaries as compared to internal term lists.
- Can the schema and setting be packaged in a VS Code extension?