BasicPathTranslator

case class BasicPathTranslator(outputSuffix: String) extends PathTranslator

Basic path translator implementation that only replaces the suffix of the path.

Used in scenarios where only a single document gets rendered and there is no use case for cross references or static or versioned documents.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getAttributes(path: Path): Option[PathAttributes]
def translate(input: Path): Path

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def translate(target: Target): Target

Translates the specified target pointing to an input document to a target pointing to an output document. Might turn an internal target into an external one in cases where it points to a document that is not rendered for the current target format, but for the site output. In this case it will point to the corresponding location of the hosted site, in case a siteBaseURL is configured.

Translates the specified target pointing to an input document to a target pointing to an output document. Might turn an internal target into an external one in cases where it points to a document that is not rendered for the current target format, but for the site output. In this case it will point to the corresponding location of the hosted site, in case a siteBaseURL is configured.

Inherited from:
PathTranslator