Run go run . generate-json-schema, this will create docs/schema.json
Generate markdown doc
(Run only once) Install json-schema-for-humans, requires pip: pip install json-schema-for-humans
Run generate-schema-doc --config template_name=md docs/schema.json docs/config-file.md, this will create docs/config-file.md
Generate HTML doc
(Run only once) Install json-schema-for-humans, requires pip: pip install json-schema-for-humans. NOTE: this is the same tool as in previous step, so if you've already isntalled it, no need to do it again
Run generate-schema-doc docs/schema.json docs/config-file.html, this will create docs/config-file.html, docs/schema_doc.html, docs/schema_doc.html