abstract class HtmlPage extends Page
An html page that is part of a Scaladoc site.
- Self Type
- HtmlPage
- Source
- HtmlPage.scala
- Alphabetic
- By Inheritance
- HtmlPage
- Page
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new HtmlPage()
Abstract Value Members
-
abstract
def
body: NodeSeq
The body of this page.
-
abstract
def
path: List[String]
The path of this page, relative to the API site.
The path of this page, relative to the API site.
path.tail
is a list of folder names leading to this page (from closest package to one-above-root package),path.head
is the file name of this page. Note thatpath
has a length of at least one.- Definition Classes
- Page
Concrete Value Members
-
def
absoluteLinkTo(path: List[String]): String
- Definition Classes
- Page
- def blockToHtml(block: Block): NodeSeq
- def bodyToHtml(body: Body): NodeSeq
-
def
commentToHtml(comment: Comment): NodeSeq
Transforms a comment into an styled HTML tree representing its body.
-
def
commentToHtml(comment: Option[Comment]): NodeSeq
Transforms an optional comment into an styled HTML tree representing its body if it is defined, or into an empty node sequence if it is not.
- def companionAndPackage(tpl: DocTemplateEntity): NodeSeq
-
def
createFileOutputStream(site: HtmlFactory, suffix: String = ""): FileOutputStream
- Definition Classes
- Page
- def docEntityImageClass(tpl: DocTemplateEntity): String
- def docEntityKindToCompanionTitle(ety: DocTemplateEntity, baseString: String = "See companion"): String
-
def
hasCompanion(mbr: TemplateEntity): Boolean
- Definition Classes
- Page
- def hasPage(e: DocTemplateEntity): Boolean
- def inlineToHtml(inl: Inline): NodeSeq
-
def
kindToString(mbr: MemberEntity): String
- Definition Classes
- Page
- def linkToHtml(text: Inline, link: LinkTo, hasLinks: Boolean): NodeSeq
- def listItemsToHtml(items: collection.Seq[Block]): NodeSeq
- def permalink(template: Entity): Elem
-
def
relativeLinkTo(destPath: List[String]): String
A relative link from a page's path to some destination path.
A relative link from a page's path to some destination path.
- destPath
The path that the link will point to.
- Definition Classes
- Page
-
def
relativeLinkTo(destClass: TemplateEntity): String
A relative link from this page to some destination class entity.
A relative link from this page to some destination class entity.
- destClass
The class or object entity that the link will point to.
- Definition Classes
- Page
-
def
templateToHtml(tpl: TemplateEntity, name: String = null): Node with Serializable
Returns the HTML code that represents the template in
tpl
as a hyperlinked name. -
def
templateToPath(tpl: TemplateEntity): List[String]
- Definition Classes
- Page
-
def
templatesToHtml(tplss: List[TemplateEntity], sep: NodeSeq): NodeSeq
Returns the HTML code that represents the templates in
tpls
as a list of hyperlinked names. - def typeToHtml(tpe: TypeEntity, hasLinks: Boolean): NodeSeq
- def typeToHtml(tpes: List[TypeEntity], hasLinks: Boolean): NodeSeq
- def typesToHtml(tpess: List[TypeEntity], hasLinks: Boolean, sep: NodeSeq): NodeSeq
-
def
writeFile(site: HtmlFactory, suffix: String = "")(fn: (Writer) ⇒ Unit): Unit
- Definition Classes
- Page
-
def
writeFor(site: HtmlFactory): Unit
Writes this page as a file.
- object Image extends Enumeration
The Scala compiler and reflection APIs.