[{"data":1,"prerenderedAt":1153},["ShallowReactive",2],{"\u002Fdocs\u002Fsearch":3,"dl-navigation-docs":250,"shared":594,"surroundings-\u002Fdocs\u002Fsearch":1147},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":240,"extension":241,"ignore":6,"meta":242,"navigation":243,"path":245,"seo":246,"sitemap":247,"stem":248,"__hash__":249},"docs\u002Fdocs\u002F06.search\u002F01.index.md","Search Module Introduction",null,{"type":8,"value":9,"toc":230},"minimark",[10,37,41,44,73,88,125,165],[11,12,13,17,18,22,23,26,27,30,31,33,34,36],"p",{},[14,15,16],"strong",{},"DocLayer comes with a built-in search functionality"," powered by the ",[19,20,21],"code",{},"dl-search"," module. The ",[19,24,25],{},"Search"," component, which is mounted by default in the ",[19,28,29],{},"Header"," as soon as you begin working with DocLayer, utilizes this module. While the ",[19,32,25],{}," component provides the user interface for searching, the ",[19,35,21],{}," module manages all underlying search logic and operations.",[38,39,40],"dl-prompter",{},"dl-search search ai assistant module is pre-installed and configured within the Boilerplate app",[11,42,43],{},"The search functionality is divided into two main capabilities:",[45,46,47,61],"ol",{},[48,49,50,53,54,60],"li",{},[14,51,52],{},"Static search",": traditional search functionality powered by the ",[14,55,56],{},[57,58,59],"dl-link",{},"$fusejs"," library, where you can search for any content statically.",[48,62,63,66,67,72],{},[14,64,65],{},"AI-powered search",": Advanced search built as a ",[68,69,71],"dl-renderer",{"inline":70},"true","rref:tooltip-rag"," technology, which can operate entirely locally or utilize remote LLMs (typically via a third-party provider's API). This feature requires a dedicated preparation process and can be enabled\u002Fdisabled if needed.",[74,75,77,81],"dl-section",{"id":76},"how-it-works",[78,79,80],"h2",{"id":76},"How it works",[11,82,83,84,87],{},"Below you’ll find an overview of the search functionality flow. On the next pages, ",[14,85,86],{},"you can explore how to configure and use the search engine"," to best suit your needs.",[74,89,91,95,114,118],{"id":90},"indexing-the-content",[92,93,94],"h3",{"id":90},"Indexing the content",[11,96,97,98,101,102,105,106,109,110,113],{},"The first and most important step is the content indexing. Any ",[14,99,100],{},"selected content collection"," - by default ",[19,103,104],{},"docs"," - ",[14,107,108],{},"will be scanned, parsed, and indexed into a searchable format",". This index is then saved in the ",[19,111,112],{},"public"," directory to be accessible by the search engine, used both for static and AI-powered search.",[115,116,52],"h4",{"id":117},"static-search",[11,119,120,121,124],{},"As mentioned earlier, static search is powered by Fuse.js. It uses the indexed content to perform searches based on the user’s query; results are then displayed in a search modal. This ",[14,122,123],{},"approach is extremely fast, though it works essentially like an anchor-based list"," and does not provide any additional contextual information.",[74,126,128,131,138],{"id":127},"ai-assistant-assembling",[92,129,130],{"id":127},"AI Assistant assembling",[11,132,133,134,137],{},"This step applies ",[14,135,136],{},"only if AI-powered search is enabled",".",[11,139,140,141,144,145,150,151,156,157,159,160,164],{},"The AI ",[14,142,143],{},"Assistant can operate entirely locally",", within the user's browser context, without any additional dependencies like ",[146,147,149],"dl-tooltip",{"lock-width":70,"tooltip":148},"An MCP (Model Context Protocol) server is a lightweight program that acts as a bridge, allowing AI models to access local data, files, or external APIs.","MCP servers",". But what does this actually mean? In addition to the ",[152,153,155],"a",{"href":154},"#indexing-the-content","standard content index",", the ",[19,158,21],{}," module generates a vector-based representation of that content. To accomplish this, the module (during the runtime) uses a lightweight ",[146,161,163],{"lock-width":70,"tooltip":162},"An embedding model is a machine learning tool that transforms unstructured data (like text, images, audio, or video) into arrays of numbers called vectors.","text embedding model",". The resulting vector database is then integrated into the application.",[74,166,168,171,181,184],{"id":167},"performing-the-assistive-search",[92,169,170],{"id":167},"Performing the assistive search",[11,172,173,174,177,178,137],{},"The ",[14,175,176],{},"purpose of building a vector representation"," is to enable highly accurate retrieval of relevant content for the AI model. This allows the model to answer any user question about your content by focusing only on the most contextually relevant information, rather than processing the entire content set. As a result, ",[14,179,180],{},"responses are faster, more efficient, and cost-effective",[11,182,183],{},"For the resolution of user prompts, you can choose one of two paths:",[185,186,187,201],"ul",{},[48,188,189,192,193,196,197,200],{},[14,190,191],{},"Local"," - Handled by a compact yet powerful model (of the ",[19,194,195],{},"feature-extraction"," type) that the user downloads during the dedicated preparation process. The model is then cached (working offline) in the browser and used each time to resolve prompts. This ",[14,198,199],{},"approach can be highly efficient for simple, content-driven contexts"," (like blogs), where information is easy to extract and distill.",[48,202,203,206,207,210,211,214,215,218,219,222,223,137],{},[14,204,205],{},"Remote"," - Managed by a remote model accessible via API. You can use custom or ",[14,208,209],{},"our pre-built interface",", which ",[14,212,213],{},"offers dedicated LLM resolving with secure prompting",", ",[14,216,217],{},"context focusing",", and ",[14,220,221],{},"deterministic cache",", delivering an consistent, high-quality assistant experience for all users - ready to use from day one - ",[14,224,225,226],{},"available with the ",[57,227,229],{"label":228},"🫠 Early Supporter Program","$docs-project-support",{"title":231,"searchDepth":232,"depth":232,"links":233},"",2,[234],{"id":76,"depth":232,"text":80,"children":235},[236,238,239],{"id":90,"depth":237,"text":94},3,{"id":127,"depth":237,"text":130},{"id":167,"depth":237,"text":170},"Brief intro into built-in DocLayer’s Search Module","md",{},{"label":244},"Introduction","\u002Fdocs\u002Fsearch",{"title":5,"description":240},{"loc":245},"docs\u002F06.search\u002F01.index","KZBDS2VwLsY8EbfSbmleMXSEM8qYsI2KdGUaClIGMz0",[251],{"title":252,"path":253,"stem":104,"children":254,"page":304},"Docs","\u002Fdocs",[255,273,305,417,446,477,496,511,553,574],{"title":256,"path":257,"stem":258,"children":259,"description":6,"icon":272},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[260,262,267],{"title":244,"path":257,"stem":258,"description":261},"What DocLayer is, who it’s for, and how it can help",{"title":263,"path":264,"stem":265,"description":266},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F01.getting-started\u002F02.installation","How to install and run DocLayer",{"title":268,"path":269,"stem":270,"description":271},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":274,"description":6,"icon":275,"path":276,"stem":277,"children":278,"page":304},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[279,284,289,294,299],{"title":280,"path":281,"stem":282,"description":283},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":285,"path":286,"stem":287,"description":288},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":290,"path":291,"stem":292,"description":293},"Writing Content","\u002Fdocs\u002Fguidelines\u002Fwriting-content","docs\u002F02.guidelines\u002F04.writing-content","Write Markdown with Nuxt Content, DocLayer and prebuilt utilities",{"title":295,"path":296,"stem":297,"description":298},"Defining Metadata","\u002Fdocs\u002Fguidelines\u002Fdefining-metadata","docs\u002F02.guidelines\u002F05.defining-metadata","Set global and per-page SEO metadata for your DocLayer app",{"title":300,"path":301,"stem":302,"description":303},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":306,"path":307,"stem":308,"children":309,"description":6,"label":244,"icon":416},"Components","\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[310,313,319,324,329,334,339,344,350,355,360,365,370,375,381,386,391,396,401,406,411],{"title":311,"path":307,"stem":308,"description":312,"label":244},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":314,"path":315,"stem":316,"description":317,"label":318},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper","DlWrapper",{"title":320,"path":321,"stem":322,"description":323},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":325,"path":326,"stem":327,"description":328},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":330,"path":331,"stem":332,"description":333},"DlCode","\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":335,"path":336,"stem":337,"description":338},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":340,"path":341,"stem":342,"description":343},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":335,"path":345,"stem":346,"description":338,"badge":347},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":348,"glow":349},"new",true,{"title":351,"path":352,"stem":353,"description":354},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":356,"path":357,"stem":358,"description":359},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":361,"path":362,"stem":363,"description":364},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":366,"path":367,"stem":368,"description":369},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":371,"path":372,"stem":373,"description":374},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":376,"path":377,"stem":378,"description":379,"badge":380},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":348,"glow":349},{"title":382,"path":383,"stem":384,"description":385},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":387,"path":388,"stem":389,"description":390},"DlGrid","\u002Fdocs\u002Fcomponents\u002Fgrid","docs\u002F03.components\u002F14.grid","Lay out named content items in a responsive grid",{"title":392,"path":393,"stem":394,"description":395},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":397,"path":398,"stem":399,"description":400},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":402,"path":403,"stem":404,"description":405},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":407,"path":408,"stem":409,"description":410},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":412,"path":413,"stem":414,"description":415},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":418,"path":419,"stem":420,"children":421,"description":6,"label":244,"icon":445},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[422,425,429,434,439],{"title":423,"path":419,"stem":420,"description":424,"label":244},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":418,"path":426,"stem":427,"description":428},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":430,"path":431,"stem":432,"description":433},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":435,"path":436,"stem":437,"description":438},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":440,"path":441,"stem":442,"description":443,"label":444},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":447,"path":448,"stem":449,"children":450,"description":6,"label":454,"icon":476},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[451,455,460,466,471],{"title":452,"path":448,"stem":449,"description":453,"label":454},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":456,"path":457,"stem":458,"description":459},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":461,"path":462,"stem":463,"description":464,"label":461,"badge":465},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":348,"glow":349},{"title":467,"path":468,"stem":469,"description":470},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":472,"path":473,"stem":474,"description":475},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":478,"path":245,"stem":248,"children":479,"description":6,"label":244,"icon":495},"Search ✨",[480,481,486,490],{"title":5,"path":245,"stem":248,"description":240,"label":244},{"title":482,"path":483,"stem":484,"description":485},"Installation & Usage","\u002Fdocs\u002Fsearch\u002Fusage","docs\u002F06.search\u002F02.usage","Wire DocLayer’s Search Module into your app",{"title":285,"path":487,"stem":488,"description":489},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":491,"path":492,"stem":493,"description":494},"API Reference","\u002Fdocs\u002Fsearch\u002Freference","docs\u002F06.search\u002F04.reference","API reference for DocLayer’s Search Module","scan-search",{"title":497,"path":498,"stem":499,"children":500,"description":6,"icon":510},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[501,504],{"title":502,"path":498,"stem":499,"description":503},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":505,"path":506,"stem":507,"description":508,"label":509},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":512,"description":6,"icon":513,"path":514,"stem":515,"children":516,"page":304},"Advanced","file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[517,523,528,533,538,543,548],{"title":518,"path":519,"stem":520,"description":521,"label":522},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":524,"path":525,"stem":526,"description":527},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":529,"path":530,"stem":531,"description":532},"CLI","\u002Fdocs\u002Fadvanced\u002Fcli","docs\u002F09.advanced\u002F04.cli","Use Command Line Interface to extensively menage your DocLayer project",{"title":534,"path":535,"stem":536,"description":537},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":539,"path":540,"stem":541,"description":542},"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":544,"path":545,"stem":546,"description":547},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":549,"path":550,"stem":551,"description":552},"Troubleshooting","\u002Fdocs\u002Fadvanced\u002Ftroubleshooting","docs\u002F09.advanced\u002F08.troubleshooting","Known DocLayer issues and quick fixes",{"title":554,"description":6,"icon":555,"path":556,"stem":557,"children":558,"page":304},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[559,564,569],{"title":560,"path":561,"stem":562,"description":563},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":565,"path":566,"stem":567,"description":568},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":570,"path":571,"stem":572,"description":573},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":491,"description":6,"icon":575,"path":576,"stem":577,"children":578,"page":304},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[579,584,589],{"title":580,"path":581,"stem":582,"description":583},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":585,"path":586,"stem":587,"description":588},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":590,"path":591,"stem":592,"description":593},"Content Schema","\u002Fdocs\u002Freference\u002Fcontent-schema","docs\u002F99.reference\u002F02.content-schema","API Reference for DocLayer’s Content Schema",[595,622,643,664,693,709,727,755,778,825,846,858,874,891,903,963,981,1007,1032,1063,1107,1134],{"id":596,"data":6,"extension":241,"meta":597,"stem":620,"__hash__":621},"shared\u002Fcode-type-header-logo-path.md",{"body":598},{"type":8,"value":599,"toc":618},[600],[601,602,603,612],"dl-code",{},[604,605,610],"pre",{"className":606,"code":608,"language":609,"meta":231},[607],"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",[19,611,608],{"__ignoreMap":231},[613,614,615],"template",{"v-slot:ui":231},[11,616,617],{},"{\"actions\": \"hidden\", \"base\": \"mt-0!\"}",{"title":231,"searchDepth":232,"depth":232,"links":619},[],"code-type-header-logo-path","551Sg_POiUffLU346shstXNFdKuMuK4ToyOLqIJp1Ws",{"id":623,"data":6,"extension":241,"meta":624,"stem":641,"__hash__":642},"shared\u002Fcode-type-module-options-root-prep.md",{"body":625},{"type":8,"value":626,"toc":639},[627],[601,628,629,635],{},[604,630,633],{"className":631,"code":632,"language":609,"meta":231},[607],"type ModuleOptions = {\n  rootPrep:\n    | {\n        components: boolean;\n        configs: boolean;\n        public: boolean;\n      }\n    | boolean;\n};\n\"cref:bqm9nh\"\n",[19,634,632],{"__ignoreMap":231},[613,636,637],{"v-slot:ui":231},[11,638,617],{},{"title":231,"searchDepth":232,"depth":232,"links":640},[],"code-type-module-options-root-prep","CDd6YiejS7_3Pl2ETS054y-cran1P92f4jEUZTnpnOI",{"id":644,"data":6,"extension":241,"meta":645,"stem":662,"__hash__":663},"shared\u002Fcode-type-search-debug-options.md",{"body":646},{"type":8,"value":647,"toc":660},[648],[601,649,650,656],{},[604,651,654],{"className":652,"code":653,"language":609,"meta":231},[607],"type DebugOptions =\n  | {\n      mint: boolean;\n      parser: boolean;\n      assistant: boolean;\n      compression: boolean;\n    }\n  | boolean;\n\"cref:4kwyr2\"\n",[19,655,653],{"__ignoreMap":231},[613,657,658],{"v-slot:ui":231},[11,659,617],{},{"title":231,"searchDepth":232,"depth":232,"links":661},[],"code-type-search-debug-options","9sgMqYFmn561p6df7FEuf-1-dyKAqrO_HYGdARynLlA",{"id":665,"data":6,"extension":241,"meta":666,"stem":691,"__hash__":692},"shared\u002Finline-read-more-about.md",{"body":667},{"type":8,"value":668,"toc":689},[669],[11,670,673,674,214,678],{"className":671},[672],"mt-0!","More about ",[675,676],"dl-format",{":content":677},"about",[57,679,681,685,686],{"label":680},"you can read here",[682,683],"binding",{"value":684},"$doc.link","|",[682,687],{"value":688},"$doc.hash",{"title":231,"searchDepth":232,"depth":232,"links":690},[],"inline-read-more-about","O5VeK2Uv84witk_mAupYbHJxwXAmNoSKDgtmvyvLQwU",{"id":694,"data":6,"extension":241,"meta":695,"stem":707,"__hash__":708},"shared\u002Fsection-exported-types.md",{"body":696},{"type":8,"value":697,"toc":705},[698],[11,699,700,701,704],{},"You can refer to the exported types, which are available for use throughout your application. All of them can be accessed from the ",[19,702,703],{},"@vuehouse\u002Fdl\u002Ftypes"," entrypoint.",{"title":231,"searchDepth":232,"depth":232,"links":706},[],"section-exported-types","SyCNSGhT7VGICRHuO3fNO2QfyQUf7s10wVMGQyTfBFk",{"id":710,"data":6,"extension":241,"meta":711,"stem":725,"__hash__":726},"shared\u002Fsection-highlighter-marker-disclaimer.md",{"body":712},{"type":8,"value":713,"toc":723},[714],[715,716,717],"blockquote",{},[11,718,173,719,722],{},[19,720,721],{},"!"," character has been escaped manually to demonstrate the code usage, remove the backslash when using it.",{"title":231,"searchDepth":232,"depth":232,"links":724},[],"section-highlighter-marker-disclaimer","DvlAILaQ9PE_c-B8f_1AYbrRaXRnOq9Ldr_Uc8qwkqE",{"id":728,"data":6,"extension":241,"meta":729,"stem":753,"__hash__":754},"shared\u002Fsection-newly-added.md",{"body":730},{"type":8,"value":731,"toc":751},[732],[733,734,736],"dl-callout",{"title":735},"false",[11,737,738,742,743,750],{},[739,740,348],"dl-badge",{":iui":741,"glow":70,"size":241},"{ \"base\": \"mr-1 align-text-top\" }"," Available from the ",[19,744,747],{"className":745},[746],"whitespace-nowrap",[682,748],{"value":749},"$doc.version"," release.",{"title":231,"searchDepth":232,"depth":232,"links":752},[],"section-newly-added","ALhVdWjkGXgjt6I9nIikz7fUkwkGy62V3bicM903qW8",{"id":756,"data":6,"extension":241,"meta":757,"stem":776,"__hash__":777},"shared\u002Fsection-optional-tool.md",{"body":758},{"type":8,"value":759,"toc":774},[760],[733,761,763],{"title":735,"type":762},"note",[11,764,765,766,769,770,137],{},"This tool is not a part of the DocLayer module. Its usage is opinionated and ",[14,767,768],{},"optionally included"," in the ",[57,771,773],{"label":772},"Boilerplate application","$dl-boilerplate",{"title":231,"searchDepth":232,"depth":232,"links":775},[],"section-optional-tool","OWRAq0rKvbIllQHS-mJRS8L2qkNiiQ8RMiFBIBiZmnY",{"id":779,"data":6,"extension":241,"meta":780,"stem":823,"__hash__":824},"shared\u002Fsection-props-extending.md",{"body":781},{"type":8,"value":782,"toc":821},[783],[733,784,786,798],{"title":785,"type":762},"Why to use built-in property extending?",[11,787,788,789,797],{},"You might ask ",[14,790,791,792],{},"why this approach is better than simply ",[57,793,796],{"hash":794,"label":795},"defining-dynamic-properties","passing regular dynamic properties","$docs-guidelines-writing-content"," to your content components?",[185,799,800,808,815,818],{},[48,801,802,803,137],{},"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 ",[57,804,807],{"hash":805,"label":806},"dlindocdata","`dl.inDocData` object","$docs-guidelines-configuration",[48,809,810,811,814],{},"Second, dynamic property binding with the ",[19,812,813],{},"$doc"," handler isn’t possible when using regular dynamic props, since those values are resolved as static data, which can make data binding inconsistent.",[48,816,817],{},"Third, you can mix static and dynamic content for the same property.",[48,819,820],{},"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":231,"searchDepth":232,"depth":232,"links":822},[],"section-props-extending","_KvOHw4F9cNT3FPfJPu3rKhnly5pt4adBb6EQXsJM8s",{"id":826,"data":6,"extension":241,"meta":827,"stem":844,"__hash__":845},"shared\u002Fsection-props-intro.md",{"body":828},{"type":8,"value":829,"toc":842},[830],[11,831,832,833,838,839,137],{},"Here are the properties you can use with the ",[19,834,835],{},[682,836],{"value":837},"$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 ",[57,840,796],{"hash":841,"label":680},"defining-properties",{"title":231,"searchDepth":232,"depth":232,"links":843},[],"section-props-intro","SKoDIW1kVb4amM1MgbWMvvgRr9IWPabKr58_xl1Q-GM",{"id":847,"data":6,"extension":241,"meta":848,"stem":856,"__hash__":857},"shared\u002Fsection-props-iui-description.md",{"body":849},{"type":8,"value":850,"toc":854},[851],[11,852,853],{},"Special property dedicated to inline components, can be used to add TW classes for certain component markup elements.",{"title":231,"searchDepth":232,"depth":232,"links":855},[],"section-props-iui-description","Se96jxhroK3WLRE4HXYqDeoYv1lpUd8qv4vZ8us54sI",{"id":859,"data":6,"extension":241,"meta":860,"stem":872,"__hash__":873},"shared\u002Fsection-props-ui-default.md",{"body":861},{"type":8,"value":862,"toc":870},[863],[11,864,866],{"style":865},"white-space: nowrap;",[152,867,869],{"href":868},"#styling","see below",{"title":231,"searchDepth":232,"depth":232,"links":871},[],"section-props-ui-default","5mkrOeoYp1BToIddCkwyzzTWeOQvj1gDVRYHJJl7kow",{"id":875,"data":6,"extension":241,"meta":876,"stem":889,"__hash__":890},"shared\u002Fsection-props-ui-description.md",{"body":877},{"type":8,"value":878,"toc":887},[879],[11,880,882,883,886],{"style":881},"min-width: 16rem;","The component ",[19,884,885],{},"ui"," object. Defines the Tailwind classes for the component's HTML markup elements.",{"title":231,"searchDepth":232,"depth":232,"links":888},[],"section-props-ui-description","xXl6RjZ54x2VpJv6H1mJ7OSCTSOfMTtRD1_VyiC0tjI",{"id":892,"data":6,"extension":241,"meta":893,"stem":901,"__hash__":902},"shared\u002Fsection-props-ui-type.md",{"body":894},{"type":8,"value":895,"toc":899},[896],[19,897,898],{"style":865},"() => UI",{"title":231,"searchDepth":232,"depth":232,"links":900},[],"section-props-ui-type","AuxEvFbnpnbFrEjJrYiNJVZsYmI8RkEnH9RjkkuoaSQ",{"id":904,"data":6,"extension":241,"meta":905,"stem":961,"__hash__":962},"shared\u002Fsection-remote-model-callout.md",{"body":906},{"type":8,"value":907,"toc":959},[908],[733,909,911,917,925,928,937,947],{"title":910},"DocLayer's Remote Model",[11,912,913,916],{},[14,914,915],{},"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,918,919,137],{},[14,920,921,922,924],{},"Our carefully fine-tuned model is available through the ",[57,923,229],{"label":228}," - help us to build the best product possible securing the most advanced features for the best price",[11,926,927],{},"Here’s how you can configure it:",[601,929,931],{"tabs":930},"nuxt.config.ts",[604,932,935],{"className":933,"code":934,"language":609,"meta":231},[607],"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",[19,936,934],{"__ignoreMap":231},[11,938,939,940,943,944,137],{},"To try our API please ",[57,941,942],{},"$mailto-vue-house",". ",[14,945,946],{},"It's free",[11,948,949,950,953,954,137],{},"Remote ",[14,951,952],{},"API operates with a dedicated"," ",[57,955,958],{"label":956,"hash":957},"DocLayer AI Kit","ai-kit","$docs-search-usage",{"title":231,"searchDepth":232,"depth":232,"links":960},[],"section-remote-model-callout","C3AapTL9Uu5tqauRWl5GqZc8aOld3-yEvscN9Dwfp2M",{"id":964,"data":6,"extension":241,"meta":965,"stem":979,"__hash__":980},"shared\u002Fsection-slots-ui-description.md",{"body":966},{"type":8,"value":967,"toc":977},[968],[11,969,970,971,973,974,137],{},"Dedicated slot for defining the component’s ",[19,972,885],{}," object. More about styling MDC components ",[57,975,976],{"label":680},"$docs-components-building",{"title":231,"searchDepth":232,"depth":232,"links":978},[],"section-slots-ui-description","HFR6PT0KFzSBW9WnqIk5KdPqHjGTTl3za3mklYIIYUY",{"id":982,"data":6,"extension":241,"meta":983,"stem":1005,"__hash__":1006},"shared\u002Fsection-styling-css-classes-intro.md",{"body":984},{"type":8,"value":985,"toc":1003},[986],[11,987,988,989,993,994,998,999,1002],{},"Below are the CSS utility classes used by the ",[19,990,991],{},[682,992],{"value":837}," component. They make use of the ",[152,995,997],{"href":996},"#css-variables","CSS variables"," described above and ",[152,1000,1001],{"href":868},"define the default styling"," for the component's markup elements.",{"title":231,"searchDepth":232,"depth":232,"links":1004},[],"section-styling-css-classes-intro","VRtlxQ59m9iNVrWHp9r1OAy2lkklqQPtKbRIkwVCY6A",{"id":1008,"data":6,"extension":241,"meta":1009,"stem":1030,"__hash__":1031},"shared\u002Fsection-styling-css-variables-intro.md",{"body":1010},{"type":8,"value":1011,"toc":1028},[1012],[11,1013,1014,1015,1018,1019,1023,1024,137],{},"Here is a set of CSS variables you can ",[14,1016,1017],{},"use to customize the appearance"," of the ",[19,1020,1021],{},[682,1022],{"value":837}," component globally. More about theming and styling with CSS variables, ",[57,1025,1027],{"hash":1026,"label":680},"css-variables","$docs-guidelines-theming",{"title":231,"searchDepth":232,"depth":232,"links":1029},[],"section-styling-css-variables-intro","Vk6yVXoMwLNtqisCZhk9m2F3-wHKjiujWtBBZbTJcD4",{"id":1033,"data":6,"extension":241,"meta":1034,"stem":1061,"__hash__":1062},"shared\u002Fsection-styling-intro.md",{"body":1035},{"type":8,"value":1036,"toc":1059},[1037,1050],[733,1038,1040],{"title":1039,"type":762},"Styling from Markdown",[11,1041,1042,1043,1046,1047,137],{},"Every DocLayer component ",[14,1044,1045],{},"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 ",[57,1048,976],{"hash":1049,"label":680},"styling-inside-the-markdown-files",[11,1051,1052,1053],{},"Below you'll find the default set of Tailwind classes for the component's dedicated markup elements. ",[675,1054,1055],{},[682,1056],{"defaultValue":1057,"value":1058},"undefined","$doc.extend",{"title":231,"searchDepth":232,"depth":232,"links":1060},[],"section-styling-intro","8V_zEj7QXax6dzKp918ZNy97d9u4qk6TaE40wI5JWEs",{"id":1064,"data":6,"extension":241,"meta":1065,"stem":1105,"__hash__":1106},"shared\u002Fsection-utility-exports-disclaimer.md",{"body":1066},{"type":8,"value":1067,"toc":1103},[1068],[733,1069,1070,1077,1096],{"title":735,"type":762},[11,1071,1072,1073,1076],{},"This utility is ",[14,1074,1075],{},"exported from the module"," package.",[601,1078,1081,1087],{"dynamic":1079,"tabs":1080},"utilityName","file.ts",[604,1082,1085],{"className":1083,"code":1084,"language":609,"meta":231},[607],"import { :dl-dynamic: } from '@vuehouse\u002Fdl\u002Fexports';\n\"cref:zseli7\"\n",[19,1086,1084],{"__ignoreMap":231},[613,1088,1089],{"v-slot:props":231},[11,1090,1091,1092,1095],{},"{\"dynamic\": \"",[682,1093],{"value":1094},"$doc.utilityName","\" }",[11,1097,1098,1099,1102],{},"You can use it this way ",[14,1100,1101],{},"when the global context is not available"," and utility can't be loaded automatically by Nuxt.",{"title":231,"searchDepth":232,"depth":232,"links":1104},[],"section-utility-exports-disclaimer","FXCXHiiD49oOkbSwsKFpp4m0gsXkZdnUwCwWnVjwucI",{"id":1108,"data":6,"extension":241,"meta":1109,"stem":1132,"__hash__":1133},"shared\u002Ftooltip-app-config-path.md",{"body":1110},{"type":8,"value":1111,"toc":1130},[1112],[146,1113,1116],{"label":1114,"tooltip":1115},"`app.config.ts`","In-app file path: app\u002Fapp.config.ts",[613,1117,1118],{"v-slot:props":231},[11,1119,1120,1121,1125,1126,1129],{},"{\"tooltip\": \"In-app file path: ",[682,1122],{"defaultValue":1123,"value":1124},"app\u002Fapp.config.ts","$doc.tooltip","\", \"label\": \"",[682,1127],{"defaultValue":1114,"value":1128},"$doc.label","\"}",{"title":231,"searchDepth":232,"depth":232,"links":1131},[],"tooltip-app-config-path","WVDQKyALt7paYD6Tr7K10fmQ27d2XjzO_oxDKHCgSdc",{"id":1135,"data":6,"extension":241,"meta":1136,"stem":1145,"__hash__":1146},"shared\u002Ftooltip-rag.md",{"body":1137},{"type":8,"value":1138,"toc":1143},[1139],[146,1140],{"label":1141,"lock-width":70,"tooltip":1142},"**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":231,"searchDepth":232,"depth":232,"links":1144},[],"tooltip-rag","fDKuZzfT8d6JNox0uI1P0_ktG8kYWiz7WGsWWo7gTGs",[1148,1149,1151,1152],{"title":472,"path":473,"stem":474,"description":475,"children":-1},{"title":478,"path":1150,"stem":248,"children":-1,"description":6,"label":244,"icon":495},"\u002Fdocs\u002Fsearch\u002F.navigation",{"title":482,"path":483,"stem":484,"description":485,"children":-1},{"title":285,"path":487,"stem":488,"description":489,"children":-1},1795796071469]