v0.11.0
Added
- A policy's clauses travel in an export.
.schema/policies.yamldeclares anexport:block, sokac export
writespolicies/clauses.jsonland one file per policy beside the glossary's. Each clause line carrieslevel,
holding the modal the clause opens with, so a consumer tells aMUSTfrom aCOULDwithout parsing the words.
Purposetravels as its opening paragraph, andScopeandExceptionstravel whole.
Fixed
-
A part's
anchoris read from where its type takes its parts. A heading-sourced type carries the part id, which
is a heading's slug and its anchor alike. A table-sourced type carried that id too, and no fragment resolves to an
authored clause id. It now carries the slug of the section holding the table, so a link built from a clause line
lands on the table. -
A carried section leaves the link reference definitions behind. They sit in a block at the foot of a record,
which puts them inside whichever section is written last, sokac exportjoined them onto the end of that section's
prose. A consumer read a run of paths that nobody sees on the page. A glossary's export is unchanged, becauseScope
is never a glossary's last section. -
kac exportleaves a clause table in the order its author wrote it. Every type's parts were sorted on their
text, which is right for a glossary and wrong for a table grouped by binding level: an advisory clause could reach a
consumer ahead of the obligations. A heading-sourced type's parts still sort alphabetically.