Classes
BlogPost
8
▼
Standard schema for blog posts.
Provides common fields for blog content including publication meta…
BlogPost
8
▼
Standard schema for blog posts.
Provides common fields for blog content including publication metadata, authorship, and categorization.
Attributes
| Name | Type | Description |
|---|---|---|
title |
str
|
Post title displayed in listings and page header. Required. |
date |
datetime
|
Publication date used for sorting and display. Required. Accepts ISO 8601 strings (e.g., |
author |
str
|
Post author name. Defaults to |
tags |
list[str]
|
List of tags for categorization and filtering. |
draft |
bool
|
If |
description |
str | None
|
Short description for meta tags, social sharing, and listings. |
image |
str | None
|
Featured image path (relative to assets) or absolute URL. |
excerpt |
str | None
|
Manual excerpt. If not set, Bengal auto-generates from content. |
DocPage
8
▼
Standard schema for documentation pages.
Optimized for technical documentation with navigation ord…
DocPage
8
▼
Standard schema for documentation pages.
Optimized for technical documentation with navigation ordering, categorization, and version tracking.
Attributes
| Name | Type | Description |
|---|---|---|
title |
str
|
Page title. Required. |
weight |
int
|
Sort order within section. Lower values appear first. Defaults to |
category |
str | None
|
Category for grouping in navigation (e.g., |
tags |
list[str]
|
List of tags for cross-referencing and filtering. |
toc |
bool
|
Whether to show the table of contents. Defaults to |
description |
str | None
|
Page description for meta tags and search results. |
deprecated |
bool
|
If |
since |
str | None
|
Version when the documented feature was introduced (e.g., |
APIReference
8
▼
Standard schema for API reference documentation.
Designed for REST API endpoint documentation with…
APIReference
8
▼
Standard schema for API reference documentation.
Designed for REST API endpoint documentation with HTTP method, authentication, and rate limiting metadata.
Attributes
| Name | Type | Description |
|---|---|---|
title |
str
|
Human-readable name for the endpoint. Required. |
endpoint |
str
|
API endpoint path (e.g., |
method |
str
|
HTTP method. Defaults to |
version |
str
|
API version string. Defaults to |
deprecated |
bool
|
If |
auth_required |
bool
|
Whether authentication is required. Defaults to |
rate_limit |
str | None
|
Rate limit description (e.g., |
description |
str | None
|
Endpoint description for listings and meta tags. |
Changelog
6
▼
Standard schema for changelog entries.
Designed for release notes and version history, with suppor…
Changelog
6
▼
Standard schema for changelog entries.
Designed for release notes and version history, with support for semantic versioning and breaking change indicators.
Attributes
| Name | Type | Description |
|---|---|---|
title |
str
|
Release title (e.g., |
date |
datetime
|
Release date. Required. Accepts ISO 8601 strings or datetime. |
version |
str | None
|
Semantic version string (e.g., |
breaking |
bool
|
If |
draft |
bool
|
If |
summary |
str | None
|
Short release summary for listings and feeds. |
Tutorial
7
▼
Standard schema for tutorial and guide pages.
Designed for step-by-step learning content with diff…
Tutorial
7
▼
Standard schema for tutorial and guide pages.
Designed for step-by-step learning content with difficulty levels, time estimates, and series organization.
Attributes
| Name | Type | Description |
|---|---|---|
title |
str
|
Tutorial title. Required. |
difficulty |
str | None
|
Skill level. Recommended values: |
duration |
str | None
|
Estimated completion time (e.g., |
prerequisites |
list[str]
|
List of prerequisite knowledge or tutorials. |
tags |
list[str]
|
List of tags for categorization and filtering. |
series |
str | None
|
Name of the tutorial series this belongs to. |
order |
int | None
|
Position within the series (1, 2, 3, ...). Used for navigation ordering. |