package link
- Alphabetic
- Public
- All
Type Members
- case class ApiLinks(baseUri: String, packagePrefix: String = "*", packageSummary: String = "index.html") extends Product with Serializable
-
case class
DocumentTargets(document: Document, slugBuilder: (String) ⇒ String) extends Product with Serializable
Collects all tree elements from a document that can be referenced from other elements, like images, footnotes, citations and other inline targets.
-
case class
IconRegistry(icons: Map[String, Icon]) extends Product with Serializable
Registers Icon AST elements for use with the
@:icon
directive and theIconReference
AST element. - case class InvalidTarget(message: String) extends TargetValidation with Product with Serializable
- case class LinkAliasResolver(sourceSelector: TargetIdSelector, targetSelector: TargetIdSelector, referenceResolver: (LinkSource) ⇒ Option[Span], formats: TargetFormats) extends TargetResolver with Product with Serializable
- case class LinkConfig(targets: Seq[TargetDefinition] = Nil, excludeFromValidation: Seq[Path] = Nil, apiLinks: Seq[ApiLinks] = Nil, sourceLinks: Seq[SourceLinks] = Nil) extends Product with Serializable
-
case class
LinkDefinitionSelector(id: String) extends UniqueSelector with Product with Serializable
A selector for a definition for an internal or external link.
-
class
LinkResolver extends RewriteRulesBuilder
The default rewrite rules responsible for resolving link references that get applied to the raw document tree after parsing.
The default rewrite rules responsible for resolving link references that get applied to the raw document tree after parsing.
These rules resolve references to images, footnotes, citations and other inline targets, and generate the identifiers for targets with auto-generated ids like auto-number footnotes.
The rules replace references pointing to internal or external targets with the corresponding resolved link elements, as well as the targets themselves with nodes that contain their final ids.
In case of duplicate target ids or unresolvable references runtime messages get inserted into the final document tree.
-
case class
LinkSource(span: Span, path: Path) extends Product with Serializable
Represents the source of a link, its document path and the actual inline span that is representing the link.
-
sealed
trait
LinkValidation extends AnyRef
Represents configuration options for link validation.
-
case class
PathSelector(path: Path) extends UniqueSelector with Product with Serializable
A selector based on a path, optionally including a fragment component.
- case class RecoveredTarget(message: String, recoveredTarget: ResolvedInternalTarget) extends TargetValidation with Product with Serializable
-
sealed
trait
Selector extends AnyRef
Represents a selector used for matching reference nodes to target nodes.
Represents a selector used for matching reference nodes to target nodes. The selectors often differ from both, the ids rendered in the final document and the ids used for display.
-
sealed
trait
SequenceSelector extends Selector
A selector that can be used for a sequence of targets.
- case class SourceLinks(baseUri: String, suffix: String, packagePrefix: String = "*") extends Product with Serializable
- case class TargetDefinition(id: String, target: Target) extends Product with Serializable
-
case class
TargetIdSelector(id: String) extends UniqueSelector with Product with Serializable
A selector for a rendered target in a document.
-
sealed abstract
class
TargetResolver extends AnyRef
Represents a resolver for a target that has its final identifier generated (if necessary) and can be used to resolve matching reference nodes.
-
case class
TargetSequenceResolver(targets: Seq[TargetResolver], sel: Selector) extends TargetResolver with Product with Serializable
Represents a resolver for a sequence of targets where matching reference nodes get determined by position.
Represents a resolver for a sequence of targets where matching reference nodes get determined by position. The
resolveReference
andresolveTarget
methods can be invoked as many times as this sequence contains elements. - sealed trait TargetValidation extends AnyRef
-
class
TreeTargets extends AnyRef
Collects all elements from a document tree that can be referenced from other elements, like images, footnotes, citations and other inline targets.
-
sealed
trait
UniqueSelector extends Selector
A selector that can is a globally unique identifier.
Value Members
-
object
AnonymousSelector extends SequenceSelector with Product with Serializable
An anonymous selector (usually matched by position).
- object ApiLinks extends Serializable
-
object
AutonumberSelector extends SequenceSelector with Product with Serializable
An auto-number selector (usually matched by position).
-
object
AutosymbolSelector extends SequenceSelector with Product with Serializable
An auto-symbol selector (usually matched by position).
- object IconRegistry extends Serializable
- object LinkAliasResolver extends Serializable
- object LinkConfig extends Serializable
- object LinkValidation
- object ReferenceResolver
-
object
SlugBuilder
Default implementation for the logic that transforms section titles, document names and user-provided ids to a slug that is compatible with HTML/XML ids, URLs and file names.
- object SourceLinks extends Serializable
- object TargetReplacer
- object TargetResolver
- object ValidTarget extends TargetValidation with Product with Serializable