json
{ "search": { "prompt": "Ask a question or search the docs...", "hotkey": "k", "placeholder": "Search documentation" }}
FieldTypeDefault
promptstringnone
hotkeystringk
placeholderstringSearch documentation...

Keep the prompt task-oriented. Good prompts mention what readers can actually ask or find.

SEO

json
{ "seo": { "indexing": "navigable", "ogImage": "/images/og-default.png", "twitterHandle": "@example", "metatags": { "og:site_name": "Acme Docs" } }}
FieldTypeDefaultNotes
indexingnavigable | allnavigableIndex only pages present in nav, or every file in the repo
noindexbooleanfalseUseful for staging or private previews
ogImagestringautoDefault social share image
twitterHandlestringnoneUsed for twitter:site metadata
metatagsrecord<string,string>{}Extra global meta tags

indexing: "navigable" is the safer default. It prevents orphaned draft pages from quietly getting indexed.

Metadata timestamps

If you want page-level freshness signals, enable metadata timestamps:

json
{ "metadata": { "timestamp": true }}

Then set timestamp or lastModifiedAt in page frontmatter for pages where recency matters.

json
{ "cookieConsent": { "enabled": true, "privacyPolicyUrl": "https://example.com/privacy", "position": "bottom", "theme": "light" }}

Use this when analytics or marketing scripts require consent in your deployment jurisdiction.

Practical checklist

  1. Make sure the most important pages are in navigation.
  2. Add an ogImage before launch, even if it is a single default asset.
  3. Turn on metadata.timestamp for changelog, pricing, and policy-heavy pages.
  4. Use noindex: true for staging and short-lived previews.
Ask a question... ⌘I