[{"data":1,"prerenderedAt":431},["ShallowReactive",2],{"\u002Fdocs\u002Freference\u002Fcontent-schema":3,"dl-navigation-docs":83,"surroundings-\u002Fdocs\u002Freference\u002Fcontent-schema":428},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":74,"extension":75,"ignore":6,"meta":76,"navigation":77,"path":78,"seo":79,"sitemap":80,"stem":81,"__hash__":82},"docs\u002Fdocs\u002F99.reference\u002F02.content-schema.md","Content Schema",null,{"type":8,"value":9,"toc":71},"minimark",[10,44,59],[11,12,13,14,18,19,23,24,27,28,31,32,37,38,43],"p",{},"Below you can find the ",[15,16,17],"strong",{},"content schema used to define DocLayer's built-in collections",". In the data model, you'll notice that we use objects named ",[20,21,22],"code",{},"_seo",", ",[20,25,26],{},"_llmSection",", and ",[20,29,30],{},"_schemaOrg",". The underscore prefix is used to avoid conflicts with Nuxt Content's original data model, especially for the ",[33,34,36],"dl-link",{"label":35},"`seo`","$docs-guidelines-defining-metadata"," field. Additionally, the ",[33,39,42],{"label":40,"hash":41},"`_local`","frontmatter","$docs-guidelines-writing-content"," object provides local (per-page) dynamic data that can be used along with the page content.",[45,46,49],"dl-code",{"max-height":47,"tabs":48},"1000rem","schema.ts",[50,51,57],"pre",{"className":52,"code":54,"language":55,"meta":56},[53],"language-ts","const optionalString = z.string().optional();\nexport const pageCollectionSchema = (z: Zod) =>\n  z\n    .object({\n      title: z.string(),\n      description: z.string(),\n      _local: z.record(z.string(), z.record(z.string(), z.string())),\n      _seo: z\n        .object({\n          keywords: optionalString(z),\n          author: optionalString(z),\n          robots: optionalString(z),\n          canonical: optionalString(z),\n          locale: optionalString(z),\n          image: optionalString(z),\n          'og:title': optionalString(z),\n          'og:description': optionalString(z),\n          'og:image': optionalString(z),\n          'og:video': optionalString(z),\n          'og:url': optionalString(z),\n          'og:locale': optionalString(z),\n          'og:type': optionalString(z),\n        })\n        .optional(),\n      _schemaOrg: z\n        .object({\n          url: optionalString(z),\n          name: optionalString(z),\n          description: optionalString(z),\n          inLanguage: optionalString(z),\n        })\n        .optional(),\n    })\n    .required({\n      title: true,\n      description: true,\n    });\n\"cref:y7swwd\"\n","ts","",[20,58,54],{"__ignoreMap":56},[11,60,61,62,65,66,70],{},"The ",[15,63,64],{},"collection schema and collections are delivered with the DocLayer"," package and can be used to extend application-based collections. Everything you need to know about defining collections ",[33,67,42],{"label":68,"hash":69},"can be found here","defining-custom-collection",".",{"title":56,"searchDepth":72,"depth":72,"links":73},2,[],"API Reference for DocLayer’s Content Schema","md",{},true,"\u002Fdocs\u002Freference\u002Fcontent-schema",{"title":5,"description":74},{"loc":78},"docs\u002F99.reference\u002F02.content-schema","zfJzN47m11_Q_cqw6tp2u_99A0CXBdsvJ7MFQqHuhIQ",[84],{"title":85,"path":86,"stem":87,"children":88,"page":139},"Docs","\u002Fdocs","docs",[89,108,140,251,280,311,334,349,391,412],{"title":90,"path":91,"stem":92,"children":93,"description":6,"icon":107},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[94,97,102],{"title":95,"path":91,"stem":92,"description":96},"Introduction","What DocLayer is, who it’s for, and how it can help",{"title":98,"path":99,"stem":100,"description":101},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F01.getting-started\u002F02.installation","How to install and run DocLayer",{"title":103,"path":104,"stem":105,"description":106},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":109,"description":6,"icon":110,"path":111,"stem":112,"children":113,"page":139},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[114,119,124,129,134],{"title":115,"path":116,"stem":117,"description":118},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":120,"path":121,"stem":122,"description":123},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":125,"path":126,"stem":127,"description":128},"Writing Content","\u002Fdocs\u002Fguidelines\u002Fwriting-content","docs\u002F02.guidelines\u002F04.writing-content","Write Markdown with Nuxt Content, DocLayer and prebuilt utilities",{"title":130,"path":131,"stem":132,"description":133},"Defining Metadata","\u002Fdocs\u002Fguidelines\u002Fdefining-metadata","docs\u002F02.guidelines\u002F05.defining-metadata","Set global and per-page SEO metadata for your DocLayer app",{"title":135,"path":136,"stem":137,"description":138},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":141,"path":142,"stem":143,"children":144,"description":6,"label":95,"icon":250},"Components","\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[145,148,154,159,164,169,174,179,184,189,194,199,204,209,215,220,225,230,235,240,245],{"title":146,"path":142,"stem":143,"description":147,"label":95},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":149,"path":150,"stem":151,"description":152,"label":153},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper","DlWrapper",{"title":155,"path":156,"stem":157,"description":158},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":160,"path":161,"stem":162,"description":163},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":165,"path":166,"stem":167,"description":168},"DlCode","\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":170,"path":171,"stem":172,"description":173},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":175,"path":176,"stem":177,"description":178},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":170,"path":180,"stem":181,"description":173,"badge":182},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":183,"glow":77},"new",{"title":185,"path":186,"stem":187,"description":188},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":190,"path":191,"stem":192,"description":193},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":195,"path":196,"stem":197,"description":198},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":200,"path":201,"stem":202,"description":203},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":205,"path":206,"stem":207,"description":208},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":210,"path":211,"stem":212,"description":213,"badge":214},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":183,"glow":77},{"title":216,"path":217,"stem":218,"description":219},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":221,"path":222,"stem":223,"description":224},"DlGrid","\u002Fdocs\u002Fcomponents\u002Fgrid","docs\u002F03.components\u002F14.grid","Lay out named content items in a responsive grid",{"title":226,"path":227,"stem":228,"description":229},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":231,"path":232,"stem":233,"description":234},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":236,"path":237,"stem":238,"description":239},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":241,"path":242,"stem":243,"description":244},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":246,"path":247,"stem":248,"description":249},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":252,"path":253,"stem":254,"children":255,"description":6,"label":95,"icon":279},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[256,259,263,268,273],{"title":257,"path":253,"stem":254,"description":258,"label":95},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":252,"path":260,"stem":261,"description":262},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":264,"path":265,"stem":266,"description":267},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":269,"path":270,"stem":271,"description":272},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":274,"path":275,"stem":276,"description":277,"label":278},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":281,"path":282,"stem":283,"children":284,"description":6,"label":288,"icon":310},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[285,289,294,300,305],{"title":286,"path":282,"stem":283,"description":287,"label":288},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":290,"path":291,"stem":292,"description":293},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":295,"path":296,"stem":297,"description":298,"label":295,"badge":299},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":183,"glow":77},{"title":301,"path":302,"stem":303,"description":304},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":306,"path":307,"stem":308,"description":309},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":312,"path":313,"stem":314,"children":315,"description":6,"label":95,"icon":333},"Search ✨","\u002Fdocs\u002Fsearch","docs\u002F06.search\u002F01.index",[316,319,324,328],{"title":317,"path":313,"stem":314,"description":318,"label":95},"Search Module Introduction","Brief intro into built-in DocLayer’s Search Module",{"title":320,"path":321,"stem":322,"description":323},"Installation & Usage","\u002Fdocs\u002Fsearch\u002Fusage","docs\u002F06.search\u002F02.usage","Wire DocLayer’s Search Module into your app",{"title":120,"path":325,"stem":326,"description":327},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":329,"path":330,"stem":331,"description":332},"API Reference","\u002Fdocs\u002Fsearch\u002Freference","docs\u002F06.search\u002F04.reference","API reference for DocLayer’s Search Module","scan-search",{"title":335,"path":336,"stem":337,"children":338,"description":6,"icon":348},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[339,342],{"title":340,"path":336,"stem":337,"description":341},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":343,"path":344,"stem":345,"description":346,"label":347},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":350,"description":6,"icon":351,"path":352,"stem":353,"children":354,"page":139},"Advanced","file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[355,361,366,371,376,381,386],{"title":356,"path":357,"stem":358,"description":359,"label":360},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":362,"path":363,"stem":364,"description":365},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":367,"path":368,"stem":369,"description":370},"CLI","\u002Fdocs\u002Fadvanced\u002Fcli","docs\u002F09.advanced\u002F04.cli","Use Command Line Interface to extensively menage your DocLayer project",{"title":372,"path":373,"stem":374,"description":375},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":377,"path":378,"stem":379,"description":380},"AI Tuning","\u002Fdocs\u002Fadvanced\u002Fai-tuning","docs\u002F09.advanced\u002F06.ai-tuning","Templates and rules for AGENTS.md, coding agents, and content-author AI",{"title":382,"path":383,"stem":384,"description":385},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":387,"path":388,"stem":389,"description":390},"Troubleshooting","\u002Fdocs\u002Fadvanced\u002Ftroubleshooting","docs\u002F09.advanced\u002F08.troubleshooting","Known DocLayer issues and quick fixes",{"title":392,"description":6,"icon":393,"path":394,"stem":395,"children":396,"page":139},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[397,402,407],{"title":398,"path":399,"stem":400,"description":401},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":403,"path":404,"stem":405,"description":406},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":408,"path":409,"stem":410,"description":411},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":329,"description":6,"icon":413,"path":414,"stem":415,"children":416,"page":139},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[417,422,427],{"title":418,"path":419,"stem":420,"description":421},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":423,"path":424,"stem":425,"description":426},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":5,"path":78,"stem":81,"description":74},[429,430,6,6],{"title":418,"path":419,"stem":420,"description":421,"children":-1},{"title":423,"path":424,"stem":425,"description":426,"children":-1},1795796074294]