[{"data":1,"prerenderedAt":1262},["ShallowReactive",2],{"\u002Fdocs\u002Fguidelines\u002Fdefining-metadata":3,"dl-navigation-docs":362,"shared":707,"surroundings-\u002Fdocs\u002Fguidelines\u002Fdefining-metadata":1256},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":353,"extension":354,"ignore":6,"meta":355,"navigation":356,"path":357,"seo":358,"sitemap":359,"stem":360,"__hash__":361},"docs\u002Fdocs\u002F02.guidelines\u002F05.defining-metadata.md","Defining Metadata",null,{"type":8,"value":9,"toc":346},"minimark",[10,19,26,29,32,55,58,95,142,263],[11,12,13,14,18],"p",{},"Metadata is a crucial part of any application, covering information like page titles, descriptions, keywords, and more, including SEO-related data. Managing metadata effectively helps promote your product, improve discoverability, and enhance how your website or documentation appears in search results and social platforms. ",[15,16,17],"strong",{},"DocLayer provides comprehensive support for metadata management",", giving you flexibility of customization you need.",[11,20,21,22,25],{},"This guide explains how to manage metadata effectively. Be aware that ",[15,23,24],{},"some portions of the data are resolved automatically"," and distributed wisely to avoid interpretation conflicts or unnecessary overwrites.",[27,28],"hr",{},[11,30,31],{},"There are two main ways to manage metadata in your application:",[33,34,35,46],"ul",{},[36,37,38,45],"li",{},[39,40,42],"a",{"href":41},"#global-metadata",[15,43,44],{},"globally",", for the entire app, distributed downwards,",[36,47,48,54],{},[39,49,51],{"href":50},"#local-metadata-page-based",[15,52,53],{},"locally",", for individual pages.",[11,56,57],{},"Let's explore both to see how you can achieve the most effective setup.",[59,60,62,66,80],"dl-section",{"id":61},"global-metadata",[63,64,65],"h2",{"id":61},"Global metadata",[11,67,68,69,74,75,79],{},"The primary place to define your metadata is the ",[70,71,73],"dl-renderer",{"inline":72},"true","rref:tooltip-app-config-path"," file. Inside its ",[76,77,78],"code",{},"meta"," property, you can set the global metadata for your application. This means every page will automatically inherit these setting - such as page title, description, keywords, and more. For more flexibility, you can also use environment variables.",[81,82,85],"dl-callout",{"title":83,"type":84},"false","note",[11,86,87,88,94],{},"More on how to define and configure global metadata ",[89,90,93],"dl-link",{"label":91,"hash":92},"you can read here","dlmeta","$docs-guidelines-configuration",".",[59,96,98,101],{"id":97},"open-graph-tags",[63,99,100],{"id":97},"Open Graph tags",[11,102,103,104,109,110,113,114,117,118,121,122,124,125,127,128,131,132,134,135,137,138,141],{},"Globally, ",[15,105,106],{},[89,107,108],{},"$open-graph"," (",[76,111,112],{},"og",") tags such as ",[76,115,116],{},"og:title"," and ",[76,119,120],{},"og:description"," are automatically generated based on the primary metadata you provide in the ",[70,123,73],{"inline":72}," ",[76,126,78],{}," object. For example, if you set a specific ",[76,129,130],{},"title"," in ",[76,133,78],{},", it will also be used for the ",[76,136,116],{}," tag. If you need more specific or custom values for OG tags, define them separately or see the ",[39,139,140],{"href":50},"local SEO setup"," section below.",[59,143,145,149,162,203,206,221,252,260],{"id":144},"schema-org",[63,146,148],{"id":147},"schemaorg","Schema.org",[11,150,151,152,157,158,161],{},"As you may have noticed, DocLayer uses the ",[15,153,154],{},[89,155,156],{},"$nuxt-schema-org"," Module to manage the ",[89,159,160],{},"$schema-org"," graph. This means that some schema data is automatically generated and handled for you (remaining unchanged), while other parts can be customized either globally or on a per-page basis.",[11,163,164,165,168,169,172,173,176,177,180,181,184,185,188,189,192,193,198,199,202],{},"By default ",[15,166,167],{},"two objects for schema.org graph will be generated",". The first of them is a global entry, automatically defined for the entire application. Its ",[76,170,171],{},"@type"," is set to ",[76,174,175],{},"WebSite",", which is the default for the global schema graph representing your app. The ",[76,178,179],{},"name"," field is populated from your app name in the ",[76,182,183],{},"package.json"," file, while the ",[76,186,187],{},"url"," is taken from the ",[76,190,191],{},"site"," property in your ",[89,194,197],{"label":195,"path":196},"`nuxt.config.ts`","directory-structure\u002Fnuxt-config","$nuxt-docs"," file. To easily manage that value, you can set the ",[76,200,201],{},"DL_META_DOMAIN"," environment variable to update it as needed.",[11,204,205],{},"[[esc]]",[207,208,211],"dl-code",{"tabs":209,"max-height":210},"defining-metadata.html","1000rem",[212,213,219],"pre",{"className":214,"code":216,"language":217,"meta":218},[215],"language-js","\u003Chead>\n  \u003Cscript type=\"application\u002Fld+json\" data-nuxt-schema-org=\"true\" data-hid=\"schema-org-graph\">\n    {\n      \"@context\": \"https:\u002F\u002Fschema.org\",\n      \"@graph\": [\n        {\n          \"@id\": \"https:\u002F\u002Fdoclayer.dev\u002F#website\",\n          \"@type\": \"WebSite\",\n          \"name\": \"@vuehouse\u002Fdl-boilerplate\",\n          \"url\": \"https:\u002F\u002Fdoclayer.dev\u002F\"\n        },\n        \u002F\u002F the rest of the graph\n      ]\n    }\n  \u003C\u002Fscript>\n\u003C\u002Fhead>\n\"cref:r1nkzc\"\n","js","",[76,220,216],{"__ignoreMap":218},[11,222,223,224,227,228,117,230,233,234,117,237,240,241,245,246,248,249,94],{},"The second object is always responsible for defining the graph entry for a specific page and will be of type ",[76,225,226],{},"WebPage",". The ",[76,229,179],{},[76,231,232],{},"description"," values are automatically generated based on your page's metadata. The ",[76,235,236],{},"inLanguage",[76,238,239],{},"publisher"," values are inherited from the ",[89,242,93],{"label":243,"hash":244},"global setup","dlschemaorg"," defined in your ",[70,247,73],{"inline":72}," file. The rest of the pregenerated data should not be changed. If you need to customize any of this per page, you can do so using the local setup, which ",[39,250,251],{"href":50},"is explained below",[207,253,254],{"tabs":209,"max-height":210},[212,255,258],{"className":256,"code":257,"language":217,"meta":218},[215],"\u003Chead>\n  \u003Cscript type=\"application\u002Fld+json\" data-nuxt-schema-org=\"true\" data-hid=\"schema-org-graph\">\n    {\n      \"@context\": \"https:\u002F\u002Fschema.org\",\n      \"@graph\": [\n        \u002F\u002F the rest of the graph\n        {\n          \"@id\": \"https:\u002F\u002Fdoclayer.dev\u002Fdocs\u002Fguidelines\u002Fdefining-metadata#webpage\",\n          \"@type\": \"WebPage\",\n          \"description\": \"Learn on how to define metadata for your application\",\n          \"inLanguage\": \"en\",\n          \"name\": \"Defining Metadata\",\n          \"url\": \"https:\u002F\u002Fdoclayer.dev\u002Fdocs\u002Fguidelines\u002Fdefining-metadata\",\n          \"publisher\": {\n            \"@type\": \"Organization\",\n            \"name\": \"vue.house\",\n            \"url\": \"https:\u002F\u002Fvue.house\"\n          }\n        }\n      ]\n    }\n  \u003C\u002Fscript>\n\u003C\u002Fhead>\n\"cref:brkw36\"\n",[76,259,257],{"__ignoreMap":218},[11,261,262],{},"[[\u002Fesc]]",[59,264,266,269,300,308,318,329,335,343],{"id":265},"local-metadata-page-based",[63,267,268],{"id":265},"Local metadata (page-based)",[11,270,271,272,277,278,281,282,285,286,289,290,117,293,296,297,299],{},"DocLayer also allows you to customize metadata for individual content pages. You can do this by adding metadata in the ",[89,273,276],{"label":274,"hash":275},"Frontmatter","frontmatter","$docs-guidelines-writing-content"," section of each page. To avoid conflicts with the default ",[89,279,280],{},"$nuxt-content"," setup and the native ",[76,283,284],{},"seo"," data, ",[15,287,288],{},"DocLayer"," introduces two additional objects: ",[76,291,292],{},"_seo",[76,294,295],{},"_schemaOrg",". These objects let you clearly separate and customize SEO and ",[89,298,160],{}," data for each page.",[11,301,302,303,307],{},"Defining your metadata correctly in the frontmatter is essential. Keep in mind that different blocks may be interpreted in specific ways, so clarity is important. Below, you'll find examples of how to set up SEO and Schema.org data. As a general rule, ",[89,304,306],{"label":305},"refer to the content schema","$docs-reference-content-schema"," used for your collections data model to ensure consistency.",[11,309,310,311,314,315,317],{},"Content schema objects are flat and do not contain nested structures, making it straightforward to define. In your content ",[76,312,313],{},".md"," (Markdown) file, use Frontmatter with dedicated ",[76,316,292],{}," keys, like this:",[207,319,321],{"tabs":320},"content.md",[212,322,327],{"className":323,"code":325,"language":326,"meta":218},[324],"language-markdown","---\ntitle: Your page title\ndescription: Your page description\n_seo:\n  author: yourdomain.com\n  keywords: your, custom, keywords\n  robots: nofollow, noindex\n  'og:title': Your Open Graph title\n  'og:description': Your Open Graph description\n---\n\"cref:4rh9gu\"\n","markdown",[76,328,325],{"__ignoreMap":218},[11,330,331,332,334],{},"And the ",[76,333,295],{}," keys as follow:",[207,336,337],{"tabs":320},[212,338,341],{"className":339,"code":340,"language":326,"meta":218},[324],"---\ntitle: Your page title\ndescription: Your page description\n_schemaOrg:\n  url: yourdomain.com\u002Fpath\u002Fto\u002Fpage\n  name: Your page title here\n  description: Your page description\n  inLanguage: de\n---\n\"cref:lqscwe\"\n",[76,342,340],{"__ignoreMap":218},[11,344,345],{},"Remember that other elements are distributed globally, and there's no need to define them for each page separately.",{"title":218,"searchDepth":347,"depth":347,"links":348},2,[349,350,351,352],{"id":61,"depth":347,"text":65},{"id":97,"depth":347,"text":100},{"id":147,"depth":347,"text":148},{"id":265,"depth":347,"text":268},"Set global and per-page SEO metadata for your DocLayer app","md",{},true,"\u002Fdocs\u002Fguidelines\u002Fdefining-metadata",{"title":5,"description":353},{"loc":357},"docs\u002F02.guidelines\u002F05.defining-metadata","gTsuraGVHc-zKuihgbkfL3v144P9idEQ01GDiUJo2aM",[363],{"title":364,"path":365,"stem":366,"children":367,"page":414},"Docs","\u002Fdocs","docs",[368,387,415,526,555,586,609,624,666,687],{"title":369,"path":370,"stem":371,"children":372,"description":6,"icon":386},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[373,376,381],{"title":374,"path":370,"stem":371,"description":375},"Introduction","What DocLayer is, who it’s for, and how it can help",{"title":377,"path":378,"stem":379,"description":380},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F01.getting-started\u002F02.installation","How to install and run DocLayer",{"title":382,"path":383,"stem":384,"description":385},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":388,"description":6,"icon":389,"path":390,"stem":391,"children":392,"page":414},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[393,398,403,408,409],{"title":394,"path":395,"stem":396,"description":397},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":399,"path":400,"stem":401,"description":402},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":404,"path":405,"stem":406,"description":407},"Writing Content","\u002Fdocs\u002Fguidelines\u002Fwriting-content","docs\u002F02.guidelines\u002F04.writing-content","Write Markdown with Nuxt Content, DocLayer and prebuilt utilities",{"title":5,"path":357,"stem":360,"description":353},{"title":410,"path":411,"stem":412,"description":413},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":416,"path":417,"stem":418,"children":419,"description":6,"label":374,"icon":525},"Components","\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[420,423,429,434,439,444,449,454,459,464,469,474,479,484,490,495,500,505,510,515,520],{"title":421,"path":417,"stem":418,"description":422,"label":374},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":424,"path":425,"stem":426,"description":427,"label":428},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper","DlWrapper",{"title":430,"path":431,"stem":432,"description":433},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":435,"path":436,"stem":437,"description":438},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":440,"path":441,"stem":442,"description":443},"DlCode","\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":445,"path":446,"stem":447,"description":448},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":450,"path":451,"stem":452,"description":453},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":445,"path":455,"stem":456,"description":448,"badge":457},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":458,"glow":356},"new",{"title":460,"path":461,"stem":462,"description":463},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":465,"path":466,"stem":467,"description":468},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":470,"path":471,"stem":472,"description":473},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":475,"path":476,"stem":477,"description":478},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":480,"path":481,"stem":482,"description":483},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":485,"path":486,"stem":487,"description":488,"badge":489},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":458,"glow":356},{"title":491,"path":492,"stem":493,"description":494},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":496,"path":497,"stem":498,"description":499},"DlGrid","\u002Fdocs\u002Fcomponents\u002Fgrid","docs\u002F03.components\u002F14.grid","Lay out named content items in a responsive grid",{"title":501,"path":502,"stem":503,"description":504},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":506,"path":507,"stem":508,"description":509},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":511,"path":512,"stem":513,"description":514},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":516,"path":517,"stem":518,"description":519},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":521,"path":522,"stem":523,"description":524},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":527,"path":528,"stem":529,"children":530,"description":6,"label":374,"icon":554},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[531,534,538,543,548],{"title":532,"path":528,"stem":529,"description":533,"label":374},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":527,"path":535,"stem":536,"description":537},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":539,"path":540,"stem":541,"description":542},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":544,"path":545,"stem":546,"description":547},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":549,"path":550,"stem":551,"description":552,"label":553},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":556,"path":557,"stem":558,"children":559,"description":6,"label":563,"icon":585},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[560,564,569,575,580],{"title":561,"path":557,"stem":558,"description":562,"label":563},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":565,"path":566,"stem":567,"description":568},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":570,"path":571,"stem":572,"description":573,"label":570,"badge":574},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":458,"glow":356},{"title":576,"path":577,"stem":578,"description":579},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":581,"path":582,"stem":583,"description":584},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":587,"path":588,"stem":589,"children":590,"description":6,"label":374,"icon":608},"Search ✨","\u002Fdocs\u002Fsearch","docs\u002F06.search\u002F01.index",[591,594,599,603],{"title":592,"path":588,"stem":589,"description":593,"label":374},"Search Module Introduction","Brief intro into built-in DocLayer’s Search Module",{"title":595,"path":596,"stem":597,"description":598},"Installation & Usage","\u002Fdocs\u002Fsearch\u002Fusage","docs\u002F06.search\u002F02.usage","Wire DocLayer’s Search Module into your app",{"title":399,"path":600,"stem":601,"description":602},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":604,"path":605,"stem":606,"description":607},"API Reference","\u002Fdocs\u002Fsearch\u002Freference","docs\u002F06.search\u002F04.reference","API reference for DocLayer’s Search Module","scan-search",{"title":610,"path":611,"stem":612,"children":613,"description":6,"icon":623},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[614,617],{"title":615,"path":611,"stem":612,"description":616},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":618,"path":619,"stem":620,"description":621,"label":622},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":625,"description":6,"icon":626,"path":627,"stem":628,"children":629,"page":414},"Advanced","file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[630,636,641,646,651,656,661],{"title":631,"path":632,"stem":633,"description":634,"label":635},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":637,"path":638,"stem":639,"description":640},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":642,"path":643,"stem":644,"description":645},"CLI","\u002Fdocs\u002Fadvanced\u002Fcli","docs\u002F09.advanced\u002F04.cli","Use Command Line Interface to extensively menage your DocLayer project",{"title":647,"path":648,"stem":649,"description":650},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":652,"path":653,"stem":654,"description":655},"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":657,"path":658,"stem":659,"description":660},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":662,"path":663,"stem":664,"description":665},"Troubleshooting","\u002Fdocs\u002Fadvanced\u002Ftroubleshooting","docs\u002F09.advanced\u002F08.troubleshooting","Known DocLayer issues and quick fixes",{"title":667,"description":6,"icon":668,"path":669,"stem":670,"children":671,"page":414},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[672,677,682],{"title":673,"path":674,"stem":675,"description":676},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":678,"path":679,"stem":680,"description":681},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":683,"path":684,"stem":685,"description":686},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":604,"description":6,"icon":688,"path":689,"stem":690,"children":691,"page":414},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[692,697,702],{"title":693,"path":694,"stem":695,"description":696},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":698,"path":699,"stem":700,"description":701},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":703,"path":704,"stem":705,"description":706},"Content Schema","\u002Fdocs\u002Freference\u002Fcontent-schema","docs\u002F99.reference\u002F02.content-schema","API Reference for DocLayer’s Content Schema",[708,733,754,775,804,820,839,865,887,932,953,965,981,998,1010,1071,1089,1115,1140,1171,1215,1243],{"id":709,"data":6,"extension":354,"meta":710,"stem":731,"__hash__":732},"shared\u002Fcode-type-header-logo-path.md",{"body":711},{"type":8,"value":712,"toc":729},[713],[207,714,715,723],{},[212,716,721],{"className":717,"code":719,"language":720,"meta":218},[718],"language-ts","type DocLayerConfig = {\n  \u002F\u002F rest of the AppConfig interface\n  headerLogoPath:\n    | string\n    | {\n        light: string;\n        dark: string;\n        fallback?: string;\n      };\n};\n\"cref:k9e5ul\"\n","ts",[76,722,719],{"__ignoreMap":218},[724,725,726],"template",{"v-slot:ui":218},[11,727,728],{},"{\"actions\": \"hidden\", \"base\": \"mt-0!\"}",{"title":218,"searchDepth":347,"depth":347,"links":730},[],"code-type-header-logo-path","551Sg_POiUffLU346shstXNFdKuMuK4ToyOLqIJp1Ws",{"id":734,"data":6,"extension":354,"meta":735,"stem":752,"__hash__":753},"shared\u002Fcode-type-module-options-root-prep.md",{"body":736},{"type":8,"value":737,"toc":750},[738],[207,739,740,746],{},[212,741,744],{"className":742,"code":743,"language":720,"meta":218},[718],"type ModuleOptions = {\n  rootPrep:\n    | {\n        components: boolean;\n        configs: boolean;\n        public: boolean;\n      }\n    | boolean;\n};\n\"cref:bqm9nh\"\n",[76,745,743],{"__ignoreMap":218},[724,747,748],{"v-slot:ui":218},[11,749,728],{},{"title":218,"searchDepth":347,"depth":347,"links":751},[],"code-type-module-options-root-prep","CDd6YiejS7_3Pl2ETS054y-cran1P92f4jEUZTnpnOI",{"id":755,"data":6,"extension":354,"meta":756,"stem":773,"__hash__":774},"shared\u002Fcode-type-search-debug-options.md",{"body":757},{"type":8,"value":758,"toc":771},[759],[207,760,761,767],{},[212,762,765],{"className":763,"code":764,"language":720,"meta":218},[718],"type DebugOptions =\n  | {\n      mint: boolean;\n      parser: boolean;\n      assistant: boolean;\n      compression: boolean;\n    }\n  | boolean;\n\"cref:4kwyr2\"\n",[76,766,764],{"__ignoreMap":218},[724,768,769],{"v-slot:ui":218},[11,770,728],{},{"title":218,"searchDepth":347,"depth":347,"links":772},[],"code-type-search-debug-options","9sgMqYFmn561p6df7FEuf-1-dyKAqrO_HYGdARynLlA",{"id":776,"data":6,"extension":354,"meta":777,"stem":802,"__hash__":803},"shared\u002Finline-read-more-about.md",{"body":778},{"type":8,"value":779,"toc":800},[780],[11,781,784,785,789,790],{"className":782},[783],"mt-0!","More about ",[786,787],"dl-format",{":content":788},"about",", ",[89,791,792,796,797],{"label":91},[793,794],"binding",{"value":795},"$doc.link","|",[793,798],{"value":799},"$doc.hash",{"title":218,"searchDepth":347,"depth":347,"links":801},[],"inline-read-more-about","O5VeK2Uv84witk_mAupYbHJxwXAmNoSKDgtmvyvLQwU",{"id":805,"data":6,"extension":354,"meta":806,"stem":818,"__hash__":819},"shared\u002Fsection-exported-types.md",{"body":807},{"type":8,"value":808,"toc":816},[809],[11,810,811,812,815],{},"You can refer to the exported types, which are available for use throughout your application. All of them can be accessed from the ",[76,813,814],{},"@vuehouse\u002Fdl\u002Ftypes"," entrypoint.",{"title":218,"searchDepth":347,"depth":347,"links":817},[],"section-exported-types","SyCNSGhT7VGICRHuO3fNO2QfyQUf7s10wVMGQyTfBFk",{"id":821,"data":6,"extension":354,"meta":822,"stem":837,"__hash__":838},"shared\u002Fsection-highlighter-marker-disclaimer.md",{"body":823},{"type":8,"value":824,"toc":835},[825],[826,827,828],"blockquote",{},[11,829,830,831,834],{},"The ",[76,832,833],{},"!"," character has been escaped manually to demonstrate the code usage, remove the backslash when using it.",{"title":218,"searchDepth":347,"depth":347,"links":836},[],"section-highlighter-marker-disclaimer","DvlAILaQ9PE_c-B8f_1AYbrRaXRnOq9Ldr_Uc8qwkqE",{"id":840,"data":6,"extension":354,"meta":841,"stem":863,"__hash__":864},"shared\u002Fsection-newly-added.md",{"body":842},{"type":8,"value":843,"toc":861},[844],[81,845,846],{"title":83},[11,847,848,852,853,860],{},[849,850,458],"dl-badge",{":iui":851,"glow":72,"size":354},"{ \"base\": \"mr-1 align-text-top\" }"," Available from the ",[76,854,857],{"className":855},[856],"whitespace-nowrap",[793,858],{"value":859},"$doc.version"," release.",{"title":218,"searchDepth":347,"depth":347,"links":862},[],"section-newly-added","ALhVdWjkGXgjt6I9nIikz7fUkwkGy62V3bicM903qW8",{"id":866,"data":6,"extension":354,"meta":867,"stem":885,"__hash__":886},"shared\u002Fsection-optional-tool.md",{"body":868},{"type":8,"value":869,"toc":883},[870],[81,871,872],{"title":83,"type":84},[11,873,874,875,878,879,94],{},"This tool is not a part of the DocLayer module. Its usage is opinionated and ",[15,876,877],{},"optionally included"," in the ",[89,880,882],{"label":881},"Boilerplate application","$dl-boilerplate",{"title":218,"searchDepth":347,"depth":347,"links":884},[],"section-optional-tool","OWRAq0rKvbIllQHS-mJRS8L2qkNiiQ8RMiFBIBiZmnY",{"id":888,"data":6,"extension":354,"meta":889,"stem":930,"__hash__":931},"shared\u002Fsection-props-extending.md",{"body":890},{"type":8,"value":891,"toc":928},[892],[81,893,895,906],{"title":894,"type":84},"Why to use built-in property extending?",[11,896,897,898,905],{},"You might ask ",[15,899,900,901],{},"why this approach is better than simply ",[89,902,276],{"hash":903,"label":904},"defining-dynamic-properties","passing regular dynamic properties"," to your content components?",[33,907,908,915,922,925],{},[36,909,910,911,94],{},"First, it’s not limited to local data - you can provide data from parent components as well as from the global registry, managed by the ",[89,912,93],{"hash":913,"label":914},"dlindocdata","`dl.inDocData` object",[36,916,917,918,921],{},"Second, dynamic property binding with the ",[76,919,920],{},"$doc"," handler isn’t possible when using regular dynamic props, since those values are resolved as static data, which can make data binding inconsistent.",[36,923,924],{},"Third, you can mix static and dynamic content for the same property.",[36,926,927],{},"Finally, with this approach, data binding happens at the component level, is cached, and reused for future renders, rather than being resolved each time during Markdown parsing.",{"title":218,"searchDepth":347,"depth":347,"links":929},[],"section-props-extending","_KvOHw4F9cNT3FPfJPu3rKhnly5pt4adBb6EQXsJM8s",{"id":933,"data":6,"extension":354,"meta":934,"stem":951,"__hash__":952},"shared\u002Fsection-props-intro.md",{"body":935},{"type":8,"value":936,"toc":949},[937],[11,938,939,940,945,946,94],{},"Here are the properties you can use with the ",[76,941,942],{},[793,943],{"value":944},"$doc.componentName"," component. Each property should be set on an individual component instance; they do not affect the global configuration. More about defining properties in MDC components ",[89,947,276],{"hash":948,"label":91},"defining-properties",{"title":218,"searchDepth":347,"depth":347,"links":950},[],"section-props-intro","SKoDIW1kVb4amM1MgbWMvvgRr9IWPabKr58_xl1Q-GM",{"id":954,"data":6,"extension":354,"meta":955,"stem":963,"__hash__":964},"shared\u002Fsection-props-iui-description.md",{"body":956},{"type":8,"value":957,"toc":961},[958],[11,959,960],{},"Special property dedicated to inline components, can be used to add TW classes for certain component markup elements.",{"title":218,"searchDepth":347,"depth":347,"links":962},[],"section-props-iui-description","Se96jxhroK3WLRE4HXYqDeoYv1lpUd8qv4vZ8us54sI",{"id":966,"data":6,"extension":354,"meta":967,"stem":979,"__hash__":980},"shared\u002Fsection-props-ui-default.md",{"body":968},{"type":8,"value":969,"toc":977},[970],[11,971,973],{"style":972},"white-space: nowrap;",[39,974,976],{"href":975},"#styling","see below",{"title":218,"searchDepth":347,"depth":347,"links":978},[],"section-props-ui-default","5mkrOeoYp1BToIddCkwyzzTWeOQvj1gDVRYHJJl7kow",{"id":982,"data":6,"extension":354,"meta":983,"stem":996,"__hash__":997},"shared\u002Fsection-props-ui-description.md",{"body":984},{"type":8,"value":985,"toc":994},[986],[11,987,989,990,993],{"style":988},"min-width: 16rem;","The component ",[76,991,992],{},"ui"," object. Defines the Tailwind classes for the component's HTML markup elements.",{"title":218,"searchDepth":347,"depth":347,"links":995},[],"section-props-ui-description","xXl6RjZ54x2VpJv6H1mJ7OSCTSOfMTtRD1_VyiC0tjI",{"id":999,"data":6,"extension":354,"meta":1000,"stem":1008,"__hash__":1009},"shared\u002Fsection-props-ui-type.md",{"body":1001},{"type":8,"value":1002,"toc":1006},[1003],[76,1004,1005],{"style":972},"() => UI",{"title":218,"searchDepth":347,"depth":347,"links":1007},[],"section-props-ui-type","AuxEvFbnpnbFrEjJrYiNJVZsYmI8RkEnH9RjkkuoaSQ",{"id":1011,"data":6,"extension":354,"meta":1012,"stem":1069,"__hash__":1070},"shared\u002Fsection-remote-model-callout.md",{"body":1013},{"type":8,"value":1014,"toc":1067},[1015],[81,1016,1018,1024,1034,1037,1046,1056],{"title":1017},"DocLayer's Remote Model",[11,1019,1020,1023],{},[15,1021,1022],{},"DocLayer offers a prebuilt remote API for the AI Assistant",", providing advanced features like context focusing, deterministic intelligent caching, and optimized code extraction to deliver precise, high-quality answers (almost) every time.",[11,1025,1026,94],{},[15,1027,1028,1029,1033],{},"Our carefully fine-tuned model is available through the ",[89,1030,1032],{"label":1031},"🫠 Early Supporter Program","$docs-project-support"," - help us to build the best product possible securing the most advanced features for the best price",[11,1035,1036],{},"Here’s how you can configure it:",[207,1038,1040],{"tabs":1039},"nuxt.config.ts",[212,1041,1044],{"className":1042,"code":1043,"language":720,"meta":218},[718],"export default defineNuxtConfig({\n  \u002F\u002F the rest of the nuxt.config.ts\n  modules: ['@vuehouse\u002Fdl-search'],\n  dlSearch: {\n    assistant: {\n      model: {\n        type: 'dl',\n        config: {\n          endpoint: 'https:\u002F\u002Fvue.house\u002Fapi',\n          token: process.env.DL_API_TOKEN,\n        },\n      },\n    },\n  },\n});\n\"cref:96cag8\"\n",[76,1045,1043],{"__ignoreMap":218},[11,1047,1048,1049,1052,1053,94],{},"To try our API please ",[89,1050,1051],{},"$mailto-vue-house",". ",[15,1054,1055],{},"It's free",[11,1057,1058,1059,124,1062,94],{},"Remote ",[15,1060,1061],{},"API operates with a dedicated",[89,1063,1066],{"label":1064,"hash":1065},"DocLayer AI Kit","ai-kit","$docs-search-usage",{"title":218,"searchDepth":347,"depth":347,"links":1068},[],"section-remote-model-callout","C3AapTL9Uu5tqauRWl5GqZc8aOld3-yEvscN9Dwfp2M",{"id":1072,"data":6,"extension":354,"meta":1073,"stem":1087,"__hash__":1088},"shared\u002Fsection-slots-ui-description.md",{"body":1074},{"type":8,"value":1075,"toc":1085},[1076],[11,1077,1078,1079,1081,1082,94],{},"Dedicated slot for defining the component’s ",[76,1080,992],{}," object. More about styling MDC components ",[89,1083,1084],{"label":91},"$docs-components-building",{"title":218,"searchDepth":347,"depth":347,"links":1086},[],"section-slots-ui-description","HFR6PT0KFzSBW9WnqIk5KdPqHjGTTl3za3mklYIIYUY",{"id":1090,"data":6,"extension":354,"meta":1091,"stem":1113,"__hash__":1114},"shared\u002Fsection-styling-css-classes-intro.md",{"body":1092},{"type":8,"value":1093,"toc":1111},[1094],[11,1095,1096,1097,1101,1102,1106,1107,1110],{},"Below are the CSS utility classes used by the ",[76,1098,1099],{},[793,1100],{"value":944}," component. They make use of the ",[39,1103,1105],{"href":1104},"#css-variables","CSS variables"," described above and ",[39,1108,1109],{"href":975},"define the default styling"," for the component's markup elements.",{"title":218,"searchDepth":347,"depth":347,"links":1112},[],"section-styling-css-classes-intro","VRtlxQ59m9iNVrWHp9r1OAy2lkklqQPtKbRIkwVCY6A",{"id":1116,"data":6,"extension":354,"meta":1117,"stem":1138,"__hash__":1139},"shared\u002Fsection-styling-css-variables-intro.md",{"body":1118},{"type":8,"value":1119,"toc":1136},[1120],[11,1121,1122,1123,1126,1127,1131,1132,94],{},"Here is a set of CSS variables you can ",[15,1124,1125],{},"use to customize the appearance"," of the ",[76,1128,1129],{},[793,1130],{"value":944}," component globally. More about theming and styling with CSS variables, ",[89,1133,1135],{"hash":1134,"label":91},"css-variables","$docs-guidelines-theming",{"title":218,"searchDepth":347,"depth":347,"links":1137},[],"section-styling-css-variables-intro","Vk6yVXoMwLNtqisCZhk9m2F3-wHKjiujWtBBZbTJcD4",{"id":1141,"data":6,"extension":354,"meta":1142,"stem":1169,"__hash__":1170},"shared\u002Fsection-styling-intro.md",{"body":1143},{"type":8,"value":1144,"toc":1167},[1145,1158],[81,1146,1148],{"title":1147,"type":84},"Styling from Markdown",[11,1149,1150,1151,1154,1155,94],{},"Every DocLayer component ",[15,1152,1153],{},"can be styled directly within your Markdown file"," using dedicated slot\u002Fproperty configuration. This allows you to customize the appearance of the component's markup elements without modifying global styles. More about components styling ",[89,1156,1084],{"hash":1157,"label":91},"styling-inside-the-markdown-files",[11,1159,1160,1161],{},"Below you'll find the default set of Tailwind classes for the component's dedicated markup elements. ",[786,1162,1163],{},[793,1164],{"defaultValue":1165,"value":1166},"undefined","$doc.extend",{"title":218,"searchDepth":347,"depth":347,"links":1168},[],"section-styling-intro","8V_zEj7QXax6dzKp918ZNy97d9u4qk6TaE40wI5JWEs",{"id":1172,"data":6,"extension":354,"meta":1173,"stem":1213,"__hash__":1214},"shared\u002Fsection-utility-exports-disclaimer.md",{"body":1174},{"type":8,"value":1175,"toc":1211},[1176],[81,1177,1178,1185,1204],{"title":83,"type":84},[11,1179,1180,1181,1184],{},"This utility is ",[15,1182,1183],{},"exported from the module"," package.",[207,1186,1189,1195],{"dynamic":1187,"tabs":1188},"utilityName","file.ts",[212,1190,1193],{"className":1191,"code":1192,"language":720,"meta":218},[718],"import { :dl-dynamic: } from '@vuehouse\u002Fdl\u002Fexports';\n\"cref:zseli7\"\n",[76,1194,1192],{"__ignoreMap":218},[724,1196,1197],{"v-slot:props":218},[11,1198,1199,1200,1203],{},"{\"dynamic\": \"",[793,1201],{"value":1202},"$doc.utilityName","\" }",[11,1205,1206,1207,1210],{},"You can use it this way ",[15,1208,1209],{},"when the global context is not available"," and utility can't be loaded automatically by Nuxt.",{"title":218,"searchDepth":347,"depth":347,"links":1212},[],"section-utility-exports-disclaimer","FXCXHiiD49oOkbSwsKFpp4m0gsXkZdnUwCwWnVjwucI",{"id":1216,"data":6,"extension":354,"meta":1217,"stem":1241,"__hash__":1242},"shared\u002Ftooltip-app-config-path.md",{"body":1218},{"type":8,"value":1219,"toc":1239},[1220],[1221,1222,1225],"dl-tooltip",{"label":1223,"tooltip":1224},"`app.config.ts`","In-app file path: app\u002Fapp.config.ts",[724,1226,1227],{"v-slot:props":218},[11,1228,1229,1230,1234,1235,1238],{},"{\"tooltip\": \"In-app file path: ",[793,1231],{"defaultValue":1232,"value":1233},"app\u002Fapp.config.ts","$doc.tooltip","\", \"label\": \"",[793,1236],{"defaultValue":1223,"value":1237},"$doc.label","\"}",{"title":218,"searchDepth":347,"depth":347,"links":1240},[],"tooltip-app-config-path","WVDQKyALt7paYD6Tr7K10fmQ27d2XjzO_oxDKHCgSdc",{"id":1244,"data":6,"extension":354,"meta":1245,"stem":1254,"__hash__":1255},"shared\u002Ftooltip-rag.md",{"body":1246},{"type":8,"value":1247,"toc":1252},[1248],[1221,1249],{"label":1250,"lock-width":72,"tooltip":1251},"**RAG**","RAG stands for Retrieval-Augmented Generation. It is an AI solution that enhances the accuracy and reliability of Large Language Models by allowing them to reference data outside their original training set when generating answers. In most cases, this data is provided locally.",{"title":218,"searchDepth":347,"depth":347,"links":1253},[],"tooltip-rag","fDKuZzfT8d6JNox0uI1P0_ktG8kYWiz7WGsWWo7gTGs",[1257,1258,1259,1260],{"title":399,"path":400,"stem":401,"description":402,"children":-1},{"title":404,"path":405,"stem":406,"description":407,"children":-1},{"title":410,"path":411,"stem":412,"description":413,"children":-1},{"title":416,"path":1261,"stem":418,"children":-1,"description":6,"label":374,"icon":525},"\u002Fdocs\u002Fcomponents\u002F.navigation",1795796059559]