Repository navigation
okforest@0.17.0
Minor Changes
-
d9d9b07: Under OKF 0.3, a
.mdfile without frontmatter or atypeisn't read as a concept (§3.2), so it's skipped as OKF says: aREADME.mdis no longer counted, listed, or linked to as one. Trees on 0.2, or no version, read as before.@okforest/okf: such a file is anOtherMarkdown(kind: "other"), in the newTree.otherMarkdown, notTree.concepts;tree.concept(id)andbacklinksleave it out, and a link to it names noconcept.buildInventorycounts only concepts.- Renamed, for the three kinds of markdown file:
ReservedFile(index.mdandlog.md) is nowReservedMarkdown, besideConceptandOtherMarkdown. Files that don't end in.mdare assets (§3.2), which stay paths inTree.files. - For tools reading a tree a file at a time:
TreeOutline.readcan now return anOtherMarkdown(its return type isConcept | ReservedMarkdown | OtherMarkdown), whenoutlineTreeis given a rootindex.mddeclaring 0.3 ({ okfVersion: declaredOkfVersion(text) }). Skip it as a concept. A link read this way still names the concept its target's path would be, since whether that file is one isn't known until it's read. @okforest/validate:okf/not-a-conceptreportsOtherMarkdowns, and the other rules check only concepts, so findings are unchanged; a validation'sconceptscount leaves them out.checkFileandTreeChecker.checktake anOtherMarkdowntoo.
okf/broken-linkchecks bare path fields under OKF 0.3. Aresource,computation,executor.resource,attester.resource, orsuperseded_bywithout a leading/resolves from the concept's folder in 0.3 (§6.2), where 0.2's examples wrote it from the tree's root; one that doesn't resolve is reported, and when it would from the root, the message says to add the/. Under 0.2 bare paths are still left alone, and asources[].resourceis checked only when written as a path (/…,./…,../…), since it may be a scope descriptor.okforest/okf-version-currentlinks Upgrade a tree to OKF 0.3, a step-by-step guide, rather than the spec's list of changes.
Patch Changes
- Updated dependencies [d9d9b07]
- @okforest/okf@0.17.0
- @okforest/validate@0.17.0