Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookRendor ¶
type BookRendor struct {
Book *mdbook.Book
BookInfo *BookInfo
PageInfos []*PageInfo
SidebarItems []*SidebarItem
}
func New ¶
func New() *BookRendor
type SidebarItem ¶
type SidebarTree ¶
type SidebarTree []*SidebarItem
func (SidebarTree) Children ¶
func (p SidebarTree) Children(idx int) []int
func (SidebarTree) Siblings ¶
func (p SidebarTree) Siblings(idx int) []int
Click to show internal directories.
Click to hide internal directories.