🚀 The Lookbook v2.0 beta is now available! Check out the docs →
v1.5.3

Page

Represents a documentation page.

Attributes

.id

Unique page ID

Type: String
.label

Label for the page, used in navigation

Type: String
.title

Page title

Type: String
.url_path

URL of the page

Type: String
.file_path

Full filesystem path to the page file

Type: Pathname
.hidden?

Whether or not the page should show in the nav

Type: Boolean
.data

Hash of user-defined data

Type: Hash
.content

Raw (unrendered) page template contents

Type: String
.type

The entity type. Returns :page

Type: Symbol