ExampleRenderer

mill.testkit.ExampleRenderer

Renders parsed chunks from a build.mill file to AsciiDoc format. Used both for generating documentation and for test workspace setup.

Value parameters

linkInfo

Optional link information for download/browse links. If None, renders without links (for tests). If Some, includes download and browse links (for docs).

parsed

The parsed chunks from ExampleParser

Attributes

Source
ExampleRenderer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class LinkInfo(downloadUrl: String, browseUrlPrefix: String)

Attributes

Source
ExampleRenderer.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def render(parsed: Seq[Chunk], linkInfo: Option[LinkInfo] = ...): String

Attributes

Source
ExampleRenderer.scala