builtinEnginePath returns the canonical builtin virtual-FS path for an engine id.
(engineID string)
| 77 | |
| 78 | // builtinEnginePath returns the canonical builtin virtual-FS path for an engine id. |
| 79 | func builtinEnginePath(engineID string) string { |
| 80 | return parser.BuiltinPathPrefix + "engines/" + engineID + ".md" |
| 81 | } |
| 82 | |
| 83 | // loadBuiltinEngineDefinitions reads all *.md files from the embedded data/engines/ |
| 84 | // directory, parses each EngineDefinition from its frontmatter, and registers the file |
no outgoing calls