object Index
Create index of pages from parsed markdown.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Index
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
class
LinkException
extends RuntimeException
Exception thrown for unknown pages in index links.
- case class Page (file: File, path: String, markdown: RootNode, properties: Map[String, String], indices: Forest[Ref], headers: Forest[Ref]) extends Product with Serializable
- case class Ref (level: Int, path: String, markdown: Node, group: Option[String]) extends Product with Serializable
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
headers(root: RootNode): Forest[Ref]
Create a tree of header refs from a parsed markdown page.
-
def
indices(root: RootNode): Forest[Ref]
Create a tree of page refs from index directives in a parsed markdown page.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
link(pages: List[Page]): Forest[Page]
Link together pages into trees using parsed indices.
-
def
links(pages: List[Page]): Map[Page, List[Page]]
Find links between pages using parsed indices.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
page(file: File, path: String, markdown: RootNode, properties: Map[String, String]): Page
Create a new Index.Page with parsed indices and headers.
- def pages(parsed: Seq[(File, String, RootNode, Map[String, String])]): Forest[Page]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )