laika.rewrite.Version
See theVersion companion object
case class Version(displayValue: String, pathSegment: String, fallbackLink: String, label: Option[String], canonical: Boolean)
Configuration for a single version of the documentation.
Value parameters
- canonical
-
indicates whether this is the canonical version
- displayValue
-
the description of the version to use in any UI (e.g. version dropdowns)
- fallbackLink
-
the link target to use when switching to this version from a page that does not exist in this version
- label
-
an optional label that will be used in the UI (e.g.
Dev
orStable
) - pathSegment
-
the string to use as a path segments in URLs pointing to this version
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article