Renderer

dotty.tools.scaladoc.renderers.Renderer
abstract class Renderer(rootPackage: Member, val members: Map[DRI, Member], val extension: String)(using ctx: DocContext) extends SiteRenderer, Resources, Locations, Writer

Attributes

Graph
Supertypes
trait Resources
trait Writer
trait SiteRenderer
trait Locations
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Abstract methods

def pageContent(page: Page, parents: Vector[Link]): AppliedTag

Handler to prepare the content to be rendered. It's a good place to organize frame, footers, front-matter, etc.

Handler to prepare the content to be rendered. It's a good place to organize frame, footers, front-matter, etc.

Attributes

Concrete methods

def render(): Unit

Main method rendering all the pages

Main method rendering all the pages

Attributes

def renderPage(page: Page, parents: Vector[Link]): Seq[String]

Method to be overriden by concrete renderer to render single page

Method to be overriden by concrete renderer to render single page

Attributes

Inherited methods

def absolutePath(dri: DRI, extension: String): String

Attributes

Inherited from:
Locations
def allResources(pages: Seq[Page]): Seq[Resource]

Attributes

Inherited from:
Resources
def copy(from: InputStream, to: String): String

Attributes

Inherited from:
Writer
def copy(from: Path, to: String): String

Attributes

Inherited from:
Writer
def driExists(dri: DRI): Boolean

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Locations
def linkResources(dri: DRI, resources: Iterable[String], deferJs: Boolean): Iterable[AppliedTag]

Attributes

Inherited from:
Resources
def pathToPage(from: DRI, to: DRI): String

Attributes

Inherited from:
Locations
def pathToRaw(from: Seq[String], to: Seq[String]): String

Attributes

Inherited from:
Locations
def pathToRoot(dri: DRI): String

Attributes

Inherited from:
Locations
def rawLocation(dri: DRI): Seq[String]

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Locations
def renderResource(resource: Resource): Seq[String]

Attributes

Inherited from:
Resources
def resolveRoot(dri: DRI, path: String): String

Attributes

Inherited from:
Locations
def resolveRoot(from: Seq[String], to: String): String

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Resources
def searchData(pages: Seq[Page]): Resource

Attributes

Inherited from:
Resources
def siteContent(pageDri: DRI, content: ResolvedTemplate): PageContent

Attributes

Inherited from:
SiteRenderer

Attributes

Inherited from:
SiteRenderer
def write(path: String, content: String): String

Attributes

Inherited from:
Writer
def write(dri: DRI, content: AppliedTag, extension: String): String

Attributes

Inherited from:
Writer

Concrete fields

val allPages: Seq[Page]

Here we have to retrive index pages from hidden pages and replace fake index pages in navigable page tree.

Here we have to retrive index pages from hidden pages and replace fake index pages in navigable page tree.

Attributes

Inherited fields

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources
lazy val apiPaths: Set[String]

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources