w3c / yml2vocab

Generate RDFS vocabulary files from YAML
https://w3c.github.io/yml2vocab
Other
14 stars 5 forks source link

Restructured the HTML output and added the possibility for examples #5

Closed iherman closed 1 year ago

iherman commented 1 year ago

The title tells it all...

The new version of the HTML looks pretty much like the original CCG report: one subsection per term and then adds json example to the end of the section (if applicable). Having made a huge circle... but with the vocabulary maintained in yaml, the result in RDFa+Turtle+JSON-LD, so it was not in vein...

The example YAML includes some examples and look at the [generated HTML]9https://raw.githack.com/w3c/yml2vocab/restructure-html/example/security.html) for the way it looks.

Fix #3