StaticSiteContext

dotty.tools.scaladoc.site.StaticSiteContext
class StaticSiteContext(val root: File, val args: Args, val sourceLinks: SourceLinks, val snippetCompilerArgs: SnippetCompilerArgs, val snippetChecker: SnippetChecker)(using val outerCtx: CompilerContext)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def driFor(dest: Path): DRI
def pathFromRoot(myTemplate: LoadedTemplate): Path
def relativize(path: Path): Path
def resolveNewBlogPath(stringPath: String): Path

Concrete fields

val args: Args
val blogPath: Path
val docsPath: Path

Handles redirecting from multiple locations to one page

Handles redirecting from multiple locations to one page

For each entry in redirectFrom setting, create a page which contains code that redirects you to the page where the redirectFrom is defined.

Attributes

val root: File

Givens

Givens