Type to start searching...
Local Index
↑↓ Navigate Select

Navigation

Documentation

Social Presence

stable 5 min read

Frontmatter Reference

Technical specifications for article metadata and Zod-based validation.

Frontmatter Reference

Every Markdown file in the Astrodex ecosystem must be preceded by a YAML frontmatter block. This data is strictly validated via Zod to ensure system integrity.

Standard Schema

---
title: "Technical Title"
description: "Short SEO description"
project: "project-id"
version: "v1.0"
status: "stable"
order: 0
---

Field Specifications

PropertyTypeRequiredDescription
titlestringYesThe primary H1 and meta-title.
projectstringYesMust match the root folder ID.
versionstringYesMust match the version folder name.
descriptionstringNoSEO meta description.
statusenumNostable, beta, alpha, deprecated.
ordernumberNoSidebar sorting priority (default: 0).
lastUpdateddateNoDisplays revision date on footer.

Status badges

The status field triggers visual indicators next to the article title:

  • Stable: Minimalist border (default).
  • Beta/Alpha: Specialized indicators for work-in-progress content.
  • Deprecated: Visual warning for legacy documentation.

Build Alert: If the project or version fields do not match the actual file path, the Astro build process will terminate with a validation error.