zudo-doc

Type to search...

to open search from anywhere

EN/JA/DE

Frontmatter Reference

CreatedMar 11, 2026Takeshi Takatsudo

Complete reference for all available frontmatter fields in zudo-doc documents.

Every MDX file in zudo-doc starts with a YAML frontmatter block delimited by ---. This page documents all available fields.

Complete Example

---
title: My Documentation Page
description: A comprehensive guide to something important.
sidebar_position: 3
sidebar_label: My Page
tags: [tutorial, setup]
---

Your content here.

Minimal Example

Only title is required:

---
title: Quick Start
---

Field Overview

FieldTypeRequiredDefaultDescription
titlestringYesPage title shown in heading, sidebar, and browser tab
descriptionstringNoSubtitle shown below the title
sidebar_positionnumberNo999Sort order within the sidebar category
sidebar_labelstringNoValue of titleOverride label shown in sidebar
categorystringNoDirectory nameReserved for future use
search_excludebooleanNofalseExclude the page from search indexing
tagsstring[]NoTags for cross-cutting navigation
draftbooleanNofalseExclude from production build (visible in dev)
unlistedbooleanNofalseBuilt but hidden from sidebar, search, and search engines
slugstringNoDerived from file pathCustom URL slug override

Fields

title

  • Type: string
  • Required: Yes

The page title. It is displayed as the h1 heading on the page, in the sidebar navigation, in the browser tab, and in search results.

---
title: Getting Started with zudo-doc
---

description

  • Type: string
  • Required: No

A short description or subtitle for the page. Shown below the title on the rendered page. Also useful for SEO meta tags.

---
title: Installation
description: How to install and set up zudo-doc for your project.
---
  • Type: number
  • Required: No
  • Default: 999 (appears at the end)

Controls the sort order of the page within its sidebar category. Lower numbers appear first.

---
title: Introduction
sidebar_position: 1
---

💡 Tip

For category index pages (index.mdx), the sidebar_position also controls where the entire category appears relative to other categories in the sidebar.

  • Type: string
  • Required: No
  • Default: Value of title

Overrides the label displayed in the sidebar navigation. Use this when you want a shorter or different label than the full page title.

---
title: Configuring Color Schemes and Themes
sidebar_label: Color Schemes
---

category

  • Type: string
  • Required: No
  • Default: Derived from the directory structure (first directory segment)

Reserved for future use. This field is defined in the content schema but is not currently used by the sidebar or routing logic. Categories are always derived from the directory structure.

📝 Note

Organize pages into categories by placing them in directories under src/content/docs/. The directory name becomes the category name.

search_exclude

  • Type: boolean
  • Required: No
  • Default: false

When set to true, excludes the page from the search index. Useful for internal pages, changelogs, or imported content that should not appear in search results.

---
title: Internal Changelog
search_exclude: true
---

tags

  • Type: string[]
  • Required: No

Assigns tags to the page for cross-cutting navigation. Tags are displayed as clickable badges on the page, and tag index pages are auto-generated at /docs/tags/ and /docs/tags/[tag].

---
title: Deploying to Netlify
tags: [deployment, netlify, hosting]
---

💡 Tip

Tags are useful for grouping related pages across different sidebar categories.

draft

  • Type: boolean
  • Required: No
  • Default: false

When set to true, the page is excluded from the production build entirely. Draft pages are still visible during development (pnpm dev) for preview purposes.

---
title: Upcoming Feature
draft: true
---

unlisted

  • Type: boolean
  • Required: No
  • Default: false

When set to true, the page is built and accessible via its URL, but is hidden from the sidebar navigation, search index, and search engines (via noindex meta tag).

---
title: Internal Notes
unlisted: true
---

slug

  • Type: string
  • Required: No
  • Default: Derived from the file path

Overrides the URL slug for the page. Use this when you want a different URL than what the file path would produce.

---
title: Getting Started with zudo-doc
slug: quickstart
---

This page would be accessible at /docs/quickstart instead of the default path derived from its file location.