rootIndex static method

String rootIndex({
  1. required String okfVersion,
})

The root index.md of a bundle that holds no concepts yet. It declares okfVersion, the OKF release the Profile implements, and links only log.md. Once the bundle holds a concept, the generated index replaces it.

Implementation

static String rootIndex({required String okfVersion}) =>
    '---\n'
    'okf_version: ${_yamlString(okfVersion)}\n'
    '---\n'
    '\n'
    '# Bundle\n'
    '\n'
    '* [Knowledge Log](log.md)\n';