Write YAML front matter for documentation pages with appropriate titles and descriptions for social cards.
This skill guides writing YAML front matter for mkdocs-material documentation pages. Front matter controls social card generation and page metadata.
---
title: "Page Title"
description: "Brief description of the page."
---
DO:
DON'T:
# API reference page
description: "API reference for DuckDBMetadataStore."
# Configuration page
description: "Configuration options for ClickHouseMetadataStore."
# Concept page
description: "How Metaxy calculates and tracks versions."
# Index page
description: "Available metadata store backends for Metaxy."
# Integration overview
description: "Dagster integration for Metaxy."
# Guide page
description: "Defining dependencies between features."
# Too verbose, lists specific details
description: "Connect Metaxy with orchestrators like Dagster, databases like ClickHouse and BigQuery, and plugins for SQLModel and SQLAlchemy."
# Prescribes use case
description: "Use DuckDB as a fast embedded analytical database for local development and testing with Metaxy."
# Enumerates implementation details
description: "Configuration options for DuckDBMetadataStore including database path, extensions, and DuckLake settings."
# Describes the subject, not the page
description: "A pluggable metadata layer for ML pipelines that tracks feature versions, dependencies, and data lineage."
| Page Type | Title Pattern | Description Pattern |
|---|---|---|
| Overview/Index | Section name | Brief summary of section contents |
| API Reference | "[Subject] API" | "API reference for [Subject]." |
| Configuration | "[Subject] Configuration" | "Configuration options for [Subject]." |
| Concept/Guide | Concept name | Brief statement of what the page explains |
| Example | "[Name] Example" | Brief statement of what the example demonstrates |
| Integration | "[Tool] Integration" | "[Tool] integration for Metaxy." |
Before finalizing front matter, verify: