diff --git a/snark-document-builder/src/main/kotlin/DocumentBuilder.kt b/snark-document-builder/src/main/kotlin/DocumentBuilder.kt index 891848c..cd4ddfd 100644 --- a/snark-document-builder/src/main/kotlin/DocumentBuilder.kt +++ b/snark-document-builder/src/main/kotlin/DocumentBuilder.kt @@ -11,6 +11,12 @@ public suspend fun buildDocument(documentPath: String) { val documentDirectory: Directory = LocalDirectory(documentPath) val documentRoot = documentDirectory.get(DEFAULT_DOCUMENT_ROOT) - // val (dependencies, vertex) = parseMd(documentRoot.readAll()) + val (dependencies, vertex) = parseMd(documentRoot.readAll()) + val documentDependencies: HashMap = HashMap() + val dependencyGraph: HashMap = + HashMap() + + documentDependencies.put(documentPath, dependencies) + dependencyGraph.put(documentPath, vertex) } \ No newline at end of file