🚨 You are viewing the legacy v1.x docs. See the new v2 documentation →
v1.5.5

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