final case class Page(name: String = "", content: String = "", subpages: Seq[Page] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Page] with Product with Serializable
Represents a documentation page. A page can contain subpages to represent nested documentation set structure.
- name
The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with
.) can be used as reference to the page in your documentation. For example: <pre><code>pages:- name: Tutorial
content: (== include tutorial.md ==)
subpages:
- name: Java
content: (== include tutorial_java.md ==)
</code></pre>
You can reference
Javapage using Markdown reference link syntax:[Java][Tutorial.Java].
- name: Java
content: (== include tutorial_java.md ==)
</code></pre>
You can reference
- name: Tutorial
content: (== include tutorial.md ==)
subpages:
- content
The Markdown content of the page. You can use <code>(== include {path}
)</code> to include content from a Markdown file.
- subpages
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Page
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Page(name: String = "", content: String = "", subpages: Seq[Page] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...)
- name
The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with
.) can be used as reference to the page in your documentation. For example: <pre><code>pages:- name: Tutorial
content: (== include tutorial.md ==)
subpages:
- name: Java
content: (== include tutorial_java.md ==)
</code></pre>
You can reference
Javapage using Markdown reference link syntax:[Java][Tutorial.Java].
- name: Java
content: (== include tutorial_java.md ==)
</code></pre>
You can reference
- name: Tutorial
content: (== include tutorial.md ==)
subpages:
- content
The Markdown content of the page. You can use <code>(== include {path}
)</code> to include content from a Markdown file.
- subpages
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllSubpages(__vs: Iterable[Page]): Page
- def addSubpages(__vs: Page*): Page
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearSubpages: Page
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: Page.type
- Definition Classes
- Page → GeneratedMessage
- val content: String
- def discardUnknownFields: Page
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- Page → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Page → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
serializedSize: Int
- Definition Classes
- Page → GeneratedMessage
- val subpages: Seq[Page]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- Page → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[Page, Page]) ⇒ Mutation[Page]*): Page
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withContent(__v: String): Page
- def withName(__v: String): Page
- def withSubpages(__v: Seq[Page]): Page
- def withUnknownFields(__v: UnknownFieldSet): Page
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Page → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage