blob: dce994f5d262882e5c0a207f00a84ee35b4593b2 (
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.DocDriver
import dotty.tools.dottydoc.model.Package
import dotty.tools.dottydoc.util.OutputWriter
import scala.collection.Map
/** FIXME: document this class plz */
trait Dottydoc extends DocDriver {
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)
}
|