root property

String get root

project root directory of whole book

Implementation

String get root => langPath.isEmpty
    ? bookPath
    : p.normalize(p.join(bookPath, p.relative('.', from: langPath)));