blob: 373fae39ae8b0d71dc00a0fdba18b97d9b1db837 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package dotty.tools.dottydoc.api.scala
import dotty.tools.dottydoc.DottyDocDriver
import dotty.tools.dottydoc.model.Package
import dotty.tools.dottydoc.util.OutputWriter
import scala.collection.Map
/** FIXME: document this class plz */
trait Dottydoc extends DottyDocDriver {
def createIndex(args: Array[String]): Map[String, Package] =
compiledDocs(args)
def buildDocs(outDir: String, templatePath: String, resources: List[String], index: Map[String, Package]) =
new OutputWriter().write(index, templatePath, outDir, resources)
def writeJson(index: Map[String, Package], outputDir: String) =
new OutputWriter().writeJson(index, outputDir)
}
|