SNRK-70: visibility of DEFAULT_DICUMENT_ROOT is specified

This commit is contained in:
liubar.pa 2023-05-04 02:33:58 +03:00
parent 5458bd3677
commit dee40ecdcc

View File

@ -4,7 +4,7 @@ import com.fasterxml.jackson.core.io.BigDecimalParser
import space.kscience.snark.storage.* import space.kscience.snark.storage.*
import java.nio.file.Path import java.nio.file.Path
val DEFAULT_DOCUMENT_ROOT = "main.md" private val DEFAULT_DOCUMENT_ROOT = "main.md"
public suspend fun buildDocument(documentDirectory: Directory) { public suspend fun buildDocument(documentDirectory: Directory) {
val documentRoot = documentDirectory.get(DEFAULT_DOCUMENT_ROOT) val documentRoot = documentDirectory.get(DEFAULT_DOCUMENT_ROOT)