better naming

This commit is contained in:
Leonid Pereverzin 2023-05-07 18:06:12 +03:00
parent ef54c02c41
commit fbd5237573

View File

@ -13,9 +13,9 @@ private val DEFAULT_DOCUMENT_ROOT = "main.md"
public suspend fun buildDocument(documentDirectory: Directory): String { public suspend fun buildDocument(documentDirectory: Directory): String {
val dependencyGraph = buildDependencyGraph(documentDirectory) val dependencyGraph = buildDependencyGraph(documentDirectory)
val roooot: MdAstRoot = dependencyGraph.nodes[""]!!.mdAst val root: MdAstRoot = dependencyGraph.nodes[""]!!.mdAst
return jacksonObjectMapper().writeValueAsString(roooot) return jacksonObjectMapper().writeValueAsString(root)
// TODO прикрутить html // TODO прикрутить html
} }