[{"data":1,"prerenderedAt":1063},["ShallowReactive",2],{"\u002Fdocs\u002Fsearch\u002Freference":3,"dl-navigation-docs":155,"shared":500,"surroundings-\u002Fdocs\u002Fsearch\u002Freference":1057},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":146,"extension":147,"ignore":6,"meta":148,"navigation":149,"path":150,"seo":151,"sitemap":152,"stem":153,"__hash__":154},"docs\u002Fdocs\u002F06.search\u002F04.reference.md","API Reference",null,{"type":8,"value":9,"toc":137},"minimark",[10,19,34,60,90,115],[11,12,13,14,18],"p",{},"Below you can find the API reference for the ",[15,16,17],"code",{},"dl-search"," module options. This interface is accessible from the module itself. To get it just use:",[20,21,23],"dl-code",{"max-height":22},"1000rem",[24,25,32],"pre",{"className":26,"code":28,"filename":29,"language":30,"meta":31},[27],"language-ts","import type { ModuleOptions } from '@vuehouse\u002Fdl-search';\n","[esc]","ts","",[15,33,28],{"__ignoreMap":31},[35,36,38,44,52],"dl-section",{"id":37},"moduleoptions",[39,40,41],"h2",{"id":37},[15,42,43],{},"ModuleOptions",[11,45,46,47,51],{},"The ",[48,49,50],"strong",{},"initial options for the DocLayer Module",". These options are related to the module's setup and do affect the search engine behavior or appearance.",[20,53,54],{"max-height":22},[24,55,58],{"className":56,"code":57,"filename":29,"language":30,"meta":31},[27],"export interface ModuleOptions {\n  \u002F**\n   * The content collections to process.\n   *\n   * @default ['docs']\n   * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#collections}\n   *\u002F\n  collections?: string[];\n  \u002F**\n   * Search Assistant configuration.\n   *\n   * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#assistant}\n   *\u002F\n  assistant?: {\n    \u002F**\n     * Whether the Assistant is enabled.\n     *\n     * @default false\n     * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#assistantenabled}\n     *\u002F\n    enabled?: boolean;\n    \u002F**\n     * Whether to use provided context meta from the assistant message.\n     *\n     * @default true\n     * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#assistantcontextmeta}\n     *\u002F\n    contextMeta?: boolean;\n    \u002F**\n     * Whether to use the fully precised context for the Assistant.\n     *\n     * @default true\n     * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#assistantprecisecontext}\n     *\u002F\n    preciseContext?: boolean;\n    \u002F**\n     * Number of top (best ranked) context chunks to use for the answer.\n     * When extractContextFrom is `page`, also caps how many distinct pages are expanded\n     * into the model context dump.\n     *\n     * Higher values improve recall but increase computation.\n     * It is not recommended to set this value above 5, as performance may degrade noticeably.\n     * Maximum value is 10.\n     *\n     * @default 3\n     * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#assistantcontexttopk}\n     *\u002F\n    contextTopK?: NumberRange\u003C1>;\n    \u002F**\n     * Number of top (best ranked) content sections to consider during coarse retrieval.\n     *\n     * Higher values improve recall but increase computation \u002F token use.\n     * It is not recommended to set this value above 5, as performance may degrade significantly.\n     * Maximum value is 10.\n     *\n     * @default 3\n     * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#assistantcontenttopk}\n     *\u002F\n    contentTopK?: NumberRange\u003C3>;\n    \u002F**\n     * How retrieved hits are expanded into the model context dump.\n     *\n     * - `section` — use ranked section chunks only (legacy \u002F smaller payloads).\n     * - `page` — rank by section, then deliver each winning page as its full\n     *   flattened sections so sibling facts stay available.\n     *\n     * @default 'section'\n     * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#assistantextractsourcefrom}\n     *\u002F\n    extractContextFrom?: 'section' | 'page';\n    \u002F**\n     * Whether to extract code from the context or the answer.\n     *\n     * If the remote model is properly instructed, it should provide the code reference along with the answer,\n     * correctly injected within the answer context. If undefined code references will not be extracted.\n     *\n     * @default undefined\n     * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#extractcodefrom}\n     *\u002F\n    extractCodeFrom?: 'context' | 'answer';\n    \u002F**\n     * Model to use for the Assistant.\n     *\n     * @throws Not operational as for now - TBA.\n     * @see {@link ModelConfig}\n     * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#assistantmodel}\n     *\u002F\n    model?: ModelConfig;\n    \u002F**\n     * Embeddings configuration.\n     *\n     * @default undefined\n     * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#embedding}\n     *\u002F\n    embedding?: {\n      \u002F**\n       * Embedding model name\u002Ftype to use.\n       *\n       * @default 'e5'\n       *\u002F\n      model: 'allmini' | 'e5';\n    };\n  };\n  \u002F**\n   * AST parser exclusions.\n   *\n   * All of the special characters, tags, definitions, etc. that should be excluded from the AST parser.\n   *\n   * @default undefined\n   * @see {@link Exclusions}\n   * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#exclusions}\n   *\u002F\n  exclusions?: Exclusions;\n  \u002F**\n   * Number of module iterations (parsing content and building static assets).\n   *\n   * To avoid running the module (generating assets) each time templates are generated,\n   * the module will run a given number of times.\n   *\n   * @default { current: 0, total: 1 }\n   * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#iterations}\n   *\u002F\n  iterations?: {\n    \u002F**\n     * Current number of module iterations.\n     * Should stay unchanged.\n     *\n     * @default 0\n     * @private\n     *\u002F\n    current: number;\n    \u002F**\n     * Total number of module iterations.\n     * It will react each time templates will be regenerated, until it reaches the total value.\n     *\n     * @default 1\n     *\u002F\n    total: number;\n  };\n  \u002F**\n   * Whether to enable debug mode.\n   *\n   * @see {@link DebugOptions}\n   * @see {@link \u002Fdocs\u002Fsearch\u002Fconfiguration#debug}\n   *\u002F\n  debug?: DebugOptions | boolean;\n  \u002F**\n   * Record mode for the module.\n   *\n   * Defines if the module should record (save) the content Collections to files as AST(s) (parsed & raw).\n   *\n   * @default false\n   * @private\n   *\u002F\n  readonly record?: boolean;\n}\n",[15,59,57],{"__ignoreMap":31},[35,61,63,69,82],{"id":62},"model",[64,65,66],"h3",{"id":62},[15,67,68],{},"Model",[11,70,46,71,74,75,81],{},[48,72,73],{},"AI model configuration"," used for the AI Assistant. Configuration varies depending on the model type. ",[76,77,80],"dl-renderer",{":data":78,"inline":79},"{\"about\": \"it\", \"link\": \"$docs-search-configuration\", \"hash\": \"assistantmodel\"}","true","rref:inline-read-more-about",".",[20,83,84],{"max-height":22},[24,85,88],{"className":86,"code":87,"filename":29,"language":30,"meta":31},[27],"type ModelConfig =\n  | {\n      type: 'local';\n      \u002F**\n       * Local model configuration.\n       *\n       * @default undefined\n       * @requires `type` to be set to `local`\n       *\u002F\n      config?:\n        | {\n            \u002F**\n             * Number of answers to return from the Assistant.\n             *\n             * Must be an integer in the range of 1 to 5.\n             *\n             * @default 1\n             *\u002F\n            answerCount?: NumberRange\u003C1, 5>;\n            \u002F**\n             * Whether to process the answer with the question-answering model.\n             *\n             * If `false`, the Assistant will return the raw answer from the content context comparison algorithm.\n             *\n             * @default true\n             *\u002F\n            modelProcessedAnswer?: true;\n            \u002F**\n             * Whether to extract richest answer from the Assistant search.\n             *\n             * It will be ignored if `answerCount` set to `1`.\n             *\n             * @default undefined\n             *\u002F\n            extractRichestAnswer?: boolean;\n          }\n        | undefined;\n    }\n  | {\n      \u002F**\n       * Resolves answers through `dl.adapters.assistant` from `app.config.ts`.\n       *\n       * Register an assistant adapter with `defineDoclayerAdapter`.\n       * The adapter receives `{ prompt, context }` after local retrieval. For secrets, have the adapter\n       * call a server route.\n       *\n       * @see {@link https:\u002F\u002Fdocs.doclayer.com\u002Fdocs\u002Fsearch\u002Fconfiguration#assistantmodeltyperemote}\n       * @see {@link https:\u002F\u002Fdocs.doclayer.com\u002Fdocs\u002Fadapters}\n       *\u002F\n      type: 'remote';\n    }\n  | {\n      type: 'dl';\n      \u002F**\n       * DocLayer AI model configuration.\n       *\n       * @requires `type` to be set to `dl`\n       *\u002F\n      config: {\n        \u002F** Endpoint of the DocLayer API handling the model to use. *\u002F\n        endpoint: `https:\u002F\u002F${string}\u002Fapi`;\n        \u002F** First stage API signature. Used only to config the request origin. *\u002F\n        token: string;\n      };\n    }\n  | {\n      \u002F**\n       * @deprecated for now as unused\n       *\u002F\n      type: 'custom';\n      \u002F**\n       * Custom model configuration.\n       *\n       * @deprecated\n       *\u002F\n      config?: HuggingFacePipelineOptions;\n    };\n",[15,89,87],{"__ignoreMap":31},[35,91,93,98,107],{"id":92},"exclusions",[64,94,95],{"id":92},[15,96,97],{},"Exclusions",[11,99,100,101,103,104,81],{},"Metadata ",[48,102,92],{}," for the AST parser. ",[76,105,80],{":data":106,"inline":79},"{\"about\": \"it\", \"link\": \"$docs-search-configuration\", \"hash\": \"exclusions\"}",[20,108,109],{"max-height":22},[24,110,113],{"className":111,"code":112,"filename":29,"language":30,"meta":31},[27],"export type Exclusions = {\n  \u002F**\n   * AST exclusions for the AST parser.\n   *\n   * Excluding content entries with the following paths.\n   *\n   * @default ['.navigation', '.navigation.yml']\n   *\u002F\n  ast?: string[];\n  \u002F**\n   * AST block definition (name) exclusions for the AST parser.\n   *\n   * Entirely excluding AST blocks (along with its inner content) with the following definitions (names).\n   * Mostly, these are code-related tags that are extracted by the `cref` internal algorithm.\n   *\n   * Example: `pre`, `code`, `blockquote`, `html`, `style`, `dl-code`, `dl-renderer`, etc.\n   *\u002F\n  def?: string[];\n  \u002F**\n   * AST block name (tag) exclusions for the AST parser.\n   *\n   * Excluding all of the AST block names (tags) (like `style`, `html`, `span`, etc.).\n   * Content inside these blocks is not excluded.\n   *\u002F\n  tag?: string[];\n  \u002F**\n   * Custom Markdown tag exclusions for the AST parser.\n   *\n   * These exclusions are related to the internal custom Markdown notations used along the content components.\n   * Mostly these should be untouched.\n   *\u002F\n  custom?: {\n    \u002F**\n     * Custom tags (defined along with the Markdown content) to exclude.\n     *\n     * Example: `\u002Fstrong\u002F`, `\u002Fcode\u002F`\n     *\n     * @default undefined\n     *\u002F\n    tag: string[];\n    \u002F**\n     * Content to exclude between these custom tags (define along with the Markdown content).\n     *\n     * @default undefined\n     *\u002F\n    content: string[];\n  };\n};\n",[15,114,112],{"__ignoreMap":31},[35,116,118,123,129],{"id":117},"debugoptions",[64,119,120],{"id":117},[15,121,122],{},"DebugOptions",[11,124,125,126,81],{},"Debug options for the module. ",[76,127,80],{":data":128,"inline":79},"{\"about\": \"it\", \"link\": \"$docs-search-configuration\", \"hash\": \"debug\"}",[20,130,131],{"max-height":22},[24,132,135],{"className":133,"code":134,"filename":29,"language":30,"meta":31},[27],"type DebugOptions = {\n  \u002F**\n   * While `debug.parser` (required) is disabled, mint mode (`mint`) is on, reporting issues only once.\n   *\n   * @default false\n   * @private\n   *\u002F\n  mint?: boolean;\n  \u002F**\n   * Enable debug mode for the AST building process.\n   *\n   * @default false\n   *\u002F\n  parser?: boolean;\n  \u002F**\n   * Enable debug mode for the Assistant process.\n   *\n   * @default false\n   *\u002F\n  assistant?: boolean;\n  \u002F**\n   * Whether to compress the content & embeddings.\n   *\n   * @default false\n   *\u002F\n  compression?: boolean;\n};\n",[15,136,134],{"__ignoreMap":31},{"title":31,"searchDepth":138,"depth":138,"links":139},2,[140],{"id":37,"depth":138,"text":43,"children":141},[142,144,145],{"id":62,"depth":143,"text":68},3,{"id":92,"depth":143,"text":97},{"id":117,"depth":143,"text":122},"API reference for DocLayer’s Search Module","md",{},true,"\u002Fdocs\u002Fsearch\u002Freference",{"title":5,"description":146},{"loc":150},"docs\u002F06.search\u002F04.reference","oE8n9g9LcHDa4bDdvljpAnPLqURaJvlCdkLpi58S8Pk",[156],{"title":157,"path":158,"stem":159,"children":160,"page":211},"Docs","\u002Fdocs","docs",[161,180,212,323,352,383,402,417,459,480],{"title":162,"path":163,"stem":164,"children":165,"description":6,"icon":179},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[166,169,174],{"title":167,"path":163,"stem":164,"description":168},"Introduction","What DocLayer is, who it’s for, and how it can help",{"title":170,"path":171,"stem":172,"description":173},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F01.getting-started\u002F02.installation","How to install and run DocLayer",{"title":175,"path":176,"stem":177,"description":178},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":181,"description":6,"icon":182,"path":183,"stem":184,"children":185,"page":211},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[186,191,196,201,206],{"title":187,"path":188,"stem":189,"description":190},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":192,"path":193,"stem":194,"description":195},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":197,"path":198,"stem":199,"description":200},"Writing Content","\u002Fdocs\u002Fguidelines\u002Fwriting-content","docs\u002F02.guidelines\u002F04.writing-content","Write Markdown with Nuxt Content, DocLayer and prebuilt utilities",{"title":202,"path":203,"stem":204,"description":205},"Defining Metadata","\u002Fdocs\u002Fguidelines\u002Fdefining-metadata","docs\u002F02.guidelines\u002F05.defining-metadata","Set global and per-page SEO metadata for your DocLayer app",{"title":207,"path":208,"stem":209,"description":210},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":213,"path":214,"stem":215,"children":216,"description":6,"label":167,"icon":322},"Components","\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[217,220,226,231,236,241,246,251,256,261,266,271,276,281,287,292,297,302,307,312,317],{"title":218,"path":214,"stem":215,"description":219,"label":167},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":221,"path":222,"stem":223,"description":224,"label":225},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper","DlWrapper",{"title":227,"path":228,"stem":229,"description":230},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":232,"path":233,"stem":234,"description":235},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":237,"path":238,"stem":239,"description":240},"DlCode","\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":242,"path":243,"stem":244,"description":245},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":247,"path":248,"stem":249,"description":250},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":242,"path":252,"stem":253,"description":245,"badge":254},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":255,"glow":149},"new",{"title":257,"path":258,"stem":259,"description":260},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":262,"path":263,"stem":264,"description":265},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":267,"path":268,"stem":269,"description":270},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":272,"path":273,"stem":274,"description":275},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":277,"path":278,"stem":279,"description":280},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":282,"path":283,"stem":284,"description":285,"badge":286},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":255,"glow":149},{"title":288,"path":289,"stem":290,"description":291},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":293,"path":294,"stem":295,"description":296},"DlGrid","\u002Fdocs\u002Fcomponents\u002Fgrid","docs\u002F03.components\u002F14.grid","Lay out named content items in a responsive grid",{"title":298,"path":299,"stem":300,"description":301},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":303,"path":304,"stem":305,"description":306},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":308,"path":309,"stem":310,"description":311},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":313,"path":314,"stem":315,"description":316},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":318,"path":319,"stem":320,"description":321},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":324,"path":325,"stem":326,"children":327,"description":6,"label":167,"icon":351},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[328,331,335,340,345],{"title":329,"path":325,"stem":326,"description":330,"label":167},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":324,"path":332,"stem":333,"description":334},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":336,"path":337,"stem":338,"description":339},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":341,"path":342,"stem":343,"description":344},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":346,"path":347,"stem":348,"description":349,"label":350},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":353,"path":354,"stem":355,"children":356,"description":6,"label":360,"icon":382},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[357,361,366,372,377],{"title":358,"path":354,"stem":355,"description":359,"label":360},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":362,"path":363,"stem":364,"description":365},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":367,"path":368,"stem":369,"description":370,"label":367,"badge":371},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":255,"glow":149},{"title":373,"path":374,"stem":375,"description":376},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":378,"path":379,"stem":380,"description":381},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":384,"path":385,"stem":386,"children":387,"description":6,"label":167,"icon":401},"Search ✨","\u002Fdocs\u002Fsearch","docs\u002F06.search\u002F01.index",[388,391,396,400],{"title":389,"path":385,"stem":386,"description":390,"label":167},"Search Module Introduction","Brief intro into built-in DocLayer’s Search Module",{"title":392,"path":393,"stem":394,"description":395},"Installation & Usage","\u002Fdocs\u002Fsearch\u002Fusage","docs\u002F06.search\u002F02.usage","Wire DocLayer’s Search Module into your app",{"title":192,"path":397,"stem":398,"description":399},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":5,"path":150,"stem":153,"description":146},"scan-search",{"title":403,"path":404,"stem":405,"children":406,"description":6,"icon":416},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[407,410],{"title":408,"path":404,"stem":405,"description":409},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":411,"path":412,"stem":413,"description":414,"label":415},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":418,"description":6,"icon":419,"path":420,"stem":421,"children":422,"page":211},"Advanced","file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[423,429,434,439,444,449,454],{"title":424,"path":425,"stem":426,"description":427,"label":428},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":430,"path":431,"stem":432,"description":433},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":435,"path":436,"stem":437,"description":438},"CLI","\u002Fdocs\u002Fadvanced\u002Fcli","docs\u002F09.advanced\u002F04.cli","Use Command Line Interface to extensively menage your DocLayer project",{"title":440,"path":441,"stem":442,"description":443},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":445,"path":446,"stem":447,"description":448},"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":450,"path":451,"stem":452,"description":453},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":455,"path":456,"stem":457,"description":458},"Troubleshooting","\u002Fdocs\u002Fadvanced\u002Ftroubleshooting","docs\u002F09.advanced\u002F08.troubleshooting","Known DocLayer issues and quick fixes",{"title":460,"description":6,"icon":461,"path":462,"stem":463,"children":464,"page":211},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[465,470,475],{"title":466,"path":467,"stem":468,"description":469},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":471,"path":472,"stem":473,"description":474},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":476,"path":477,"stem":478,"description":479},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":5,"description":6,"icon":481,"path":482,"stem":483,"children":484,"page":211},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[485,490,495],{"title":486,"path":487,"stem":488,"description":489},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":491,"path":492,"stem":493,"description":494},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":496,"path":497,"stem":498,"description":499},"Content Schema","\u002Fdocs\u002Freference\u002Fcontent-schema","docs\u002F99.reference\u002F02.content-schema","API Reference for DocLayer’s Content Schema",[501,524,545,566,597,613,631,659,682,731,752,764,781,798,810,872,890,916,941,972,1016,1044],{"id":502,"data":6,"extension":147,"meta":503,"stem":522,"__hash__":523},"shared\u002Fcode-type-header-logo-path.md",{"body":504},{"type":8,"value":505,"toc":520},[506],[20,507,508,514],{},[24,509,512],{"className":510,"code":511,"language":30,"meta":31},[27],"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",[15,513,511],{"__ignoreMap":31},[515,516,517],"template",{"v-slot:ui":31},[11,518,519],{},"{\"actions\": \"hidden\", \"base\": \"mt-0!\"}",{"title":31,"searchDepth":138,"depth":138,"links":521},[],"code-type-header-logo-path","551Sg_POiUffLU346shstXNFdKuMuK4ToyOLqIJp1Ws",{"id":525,"data":6,"extension":147,"meta":526,"stem":543,"__hash__":544},"shared\u002Fcode-type-module-options-root-prep.md",{"body":527},{"type":8,"value":528,"toc":541},[529],[20,530,531,537],{},[24,532,535],{"className":533,"code":534,"language":30,"meta":31},[27],"type ModuleOptions = {\n  rootPrep:\n    | {\n        components: boolean;\n        configs: boolean;\n        public: boolean;\n      }\n    | boolean;\n};\n\"cref:bqm9nh\"\n",[15,536,534],{"__ignoreMap":31},[515,538,539],{"v-slot:ui":31},[11,540,519],{},{"title":31,"searchDepth":138,"depth":138,"links":542},[],"code-type-module-options-root-prep","CDd6YiejS7_3Pl2ETS054y-cran1P92f4jEUZTnpnOI",{"id":546,"data":6,"extension":147,"meta":547,"stem":564,"__hash__":565},"shared\u002Fcode-type-search-debug-options.md",{"body":548},{"type":8,"value":549,"toc":562},[550],[20,551,552,558],{},[24,553,556],{"className":554,"code":555,"language":30,"meta":31},[27],"type DebugOptions =\n  | {\n      mint: boolean;\n      parser: boolean;\n      assistant: boolean;\n      compression: boolean;\n    }\n  | boolean;\n\"cref:4kwyr2\"\n",[15,557,555],{"__ignoreMap":31},[515,559,560],{"v-slot:ui":31},[11,561,519],{},{"title":31,"searchDepth":138,"depth":138,"links":563},[],"code-type-search-debug-options","9sgMqYFmn561p6df7FEuf-1-dyKAqrO_HYGdARynLlA",{"id":567,"data":6,"extension":147,"meta":568,"stem":595,"__hash__":596},"shared\u002Finline-read-more-about.md",{"body":569},{"type":8,"value":570,"toc":593},[571],[11,572,575,576,580,581],{"className":573},[574],"mt-0!","More about ",[577,578],"dl-format",{":content":579},"about",", ",[582,583,585,589,590],"dl-link",{"label":584},"you can read here",[586,587],"binding",{"value":588},"$doc.link","|",[586,591],{"value":592},"$doc.hash",{"title":31,"searchDepth":138,"depth":138,"links":594},[],"inline-read-more-about","O5VeK2Uv84witk_mAupYbHJxwXAmNoSKDgtmvyvLQwU",{"id":598,"data":6,"extension":147,"meta":599,"stem":611,"__hash__":612},"shared\u002Fsection-exported-types.md",{"body":600},{"type":8,"value":601,"toc":609},[602],[11,603,604,605,608],{},"You can refer to the exported types, which are available for use throughout your application. All of them can be accessed from the ",[15,606,607],{},"@vuehouse\u002Fdl\u002Ftypes"," entrypoint.",{"title":31,"searchDepth":138,"depth":138,"links":610},[],"section-exported-types","SyCNSGhT7VGICRHuO3fNO2QfyQUf7s10wVMGQyTfBFk",{"id":614,"data":6,"extension":147,"meta":615,"stem":629,"__hash__":630},"shared\u002Fsection-highlighter-marker-disclaimer.md",{"body":616},{"type":8,"value":617,"toc":627},[618],[619,620,621],"blockquote",{},[11,622,46,623,626],{},[15,624,625],{},"!"," character has been escaped manually to demonstrate the code usage, remove the backslash when using it.",{"title":31,"searchDepth":138,"depth":138,"links":628},[],"section-highlighter-marker-disclaimer","DvlAILaQ9PE_c-B8f_1AYbrRaXRnOq9Ldr_Uc8qwkqE",{"id":632,"data":6,"extension":147,"meta":633,"stem":657,"__hash__":658},"shared\u002Fsection-newly-added.md",{"body":634},{"type":8,"value":635,"toc":655},[636],[637,638,640],"dl-callout",{"title":639},"false",[11,641,642,646,647,654],{},[643,644,255],"dl-badge",{":iui":645,"glow":79,"size":147},"{ \"base\": \"mr-1 align-text-top\" }"," Available from the ",[15,648,651],{"className":649},[650],"whitespace-nowrap",[586,652],{"value":653},"$doc.version"," release.",{"title":31,"searchDepth":138,"depth":138,"links":656},[],"section-newly-added","ALhVdWjkGXgjt6I9nIikz7fUkwkGy62V3bicM903qW8",{"id":660,"data":6,"extension":147,"meta":661,"stem":680,"__hash__":681},"shared\u002Fsection-optional-tool.md",{"body":662},{"type":8,"value":663,"toc":678},[664],[637,665,667],{"title":639,"type":666},"note",[11,668,669,670,673,674,81],{},"This tool is not a part of the DocLayer module. Its usage is opinionated and ",[48,671,672],{},"optionally included"," in the ",[582,675,677],{"label":676},"Boilerplate application","$dl-boilerplate",{"title":31,"searchDepth":138,"depth":138,"links":679},[],"section-optional-tool","OWRAq0rKvbIllQHS-mJRS8L2qkNiiQ8RMiFBIBiZmnY",{"id":683,"data":6,"extension":147,"meta":684,"stem":729,"__hash__":730},"shared\u002Fsection-props-extending.md",{"body":685},{"type":8,"value":686,"toc":727},[687],[637,688,690,702],{"title":689,"type":666},"Why to use built-in property extending?",[11,691,692,693,701],{},"You might ask ",[48,694,695,696],{},"why this approach is better than simply ",[582,697,700],{"hash":698,"label":699},"defining-dynamic-properties","passing regular dynamic properties","$docs-guidelines-writing-content"," to your content components?",[703,704,705,714,721,724],"ul",{},[706,707,708,709,81],"li",{},"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 ",[582,710,713],{"hash":711,"label":712},"dlindocdata","`dl.inDocData` object","$docs-guidelines-configuration",[706,715,716,717,720],{},"Second, dynamic property binding with the ",[15,718,719],{},"$doc"," handler isn’t possible when using regular dynamic props, since those values are resolved as static data, which can make data binding inconsistent.",[706,722,723],{},"Third, you can mix static and dynamic content for the same property.",[706,725,726],{},"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":31,"searchDepth":138,"depth":138,"links":728},[],"section-props-extending","_KvOHw4F9cNT3FPfJPu3rKhnly5pt4adBb6EQXsJM8s",{"id":732,"data":6,"extension":147,"meta":733,"stem":750,"__hash__":751},"shared\u002Fsection-props-intro.md",{"body":734},{"type":8,"value":735,"toc":748},[736],[11,737,738,739,744,745,81],{},"Here are the properties you can use with the ",[15,740,741],{},[586,742],{"value":743},"$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 ",[582,746,700],{"hash":747,"label":584},"defining-properties",{"title":31,"searchDepth":138,"depth":138,"links":749},[],"section-props-intro","SKoDIW1kVb4amM1MgbWMvvgRr9IWPabKr58_xl1Q-GM",{"id":753,"data":6,"extension":147,"meta":754,"stem":762,"__hash__":763},"shared\u002Fsection-props-iui-description.md",{"body":755},{"type":8,"value":756,"toc":760},[757],[11,758,759],{},"Special property dedicated to inline components, can be used to add TW classes for certain component markup elements.",{"title":31,"searchDepth":138,"depth":138,"links":761},[],"section-props-iui-description","Se96jxhroK3WLRE4HXYqDeoYv1lpUd8qv4vZ8us54sI",{"id":765,"data":6,"extension":147,"meta":766,"stem":779,"__hash__":780},"shared\u002Fsection-props-ui-default.md",{"body":767},{"type":8,"value":768,"toc":777},[769],[11,770,772],{"style":771},"white-space: nowrap;",[773,774,776],"a",{"href":775},"#styling","see below",{"title":31,"searchDepth":138,"depth":138,"links":778},[],"section-props-ui-default","5mkrOeoYp1BToIddCkwyzzTWeOQvj1gDVRYHJJl7kow",{"id":782,"data":6,"extension":147,"meta":783,"stem":796,"__hash__":797},"shared\u002Fsection-props-ui-description.md",{"body":784},{"type":8,"value":785,"toc":794},[786],[11,787,789,790,793],{"style":788},"min-width: 16rem;","The component ",[15,791,792],{},"ui"," object. Defines the Tailwind classes for the component's HTML markup elements.",{"title":31,"searchDepth":138,"depth":138,"links":795},[],"section-props-ui-description","xXl6RjZ54x2VpJv6H1mJ7OSCTSOfMTtRD1_VyiC0tjI",{"id":799,"data":6,"extension":147,"meta":800,"stem":808,"__hash__":809},"shared\u002Fsection-props-ui-type.md",{"body":801},{"type":8,"value":802,"toc":806},[803],[15,804,805],{"style":771},"() => UI",{"title":31,"searchDepth":138,"depth":138,"links":807},[],"section-props-ui-type","AuxEvFbnpnbFrEjJrYiNJVZsYmI8RkEnH9RjkkuoaSQ",{"id":811,"data":6,"extension":147,"meta":812,"stem":870,"__hash__":871},"shared\u002Fsection-remote-model-callout.md",{"body":813},{"type":8,"value":814,"toc":868},[815],[637,816,818,824,834,837,846,856],{"title":817},"DocLayer's Remote Model",[11,819,820,823],{},[48,821,822],{},"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,825,826,81],{},[48,827,828,829,833],{},"Our carefully fine-tuned model is available through the ",[582,830,832],{"label":831},"🫠 Early Supporter Program","$docs-project-support"," - help us to build the best product possible securing the most advanced features for the best price",[11,835,836],{},"Here’s how you can configure it:",[20,838,840],{"tabs":839},"nuxt.config.ts",[24,841,844],{"className":842,"code":843,"language":30,"meta":31},[27],"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",[15,845,843],{"__ignoreMap":31},[11,847,848,849,852,853,81],{},"To try our API please ",[582,850,851],{},"$mailto-vue-house",". ",[48,854,855],{},"It's free",[11,857,858,859,862,863,81],{},"Remote ",[48,860,861],{},"API operates with a dedicated"," ",[582,864,867],{"label":865,"hash":866},"DocLayer AI Kit","ai-kit","$docs-search-usage",{"title":31,"searchDepth":138,"depth":138,"links":869},[],"section-remote-model-callout","C3AapTL9Uu5tqauRWl5GqZc8aOld3-yEvscN9Dwfp2M",{"id":873,"data":6,"extension":147,"meta":874,"stem":888,"__hash__":889},"shared\u002Fsection-slots-ui-description.md",{"body":875},{"type":8,"value":876,"toc":886},[877],[11,878,879,880,882,883,81],{},"Dedicated slot for defining the component’s ",[15,881,792],{}," object. More about styling MDC components ",[582,884,885],{"label":584},"$docs-components-building",{"title":31,"searchDepth":138,"depth":138,"links":887},[],"section-slots-ui-description","HFR6PT0KFzSBW9WnqIk5KdPqHjGTTl3za3mklYIIYUY",{"id":891,"data":6,"extension":147,"meta":892,"stem":914,"__hash__":915},"shared\u002Fsection-styling-css-classes-intro.md",{"body":893},{"type":8,"value":894,"toc":912},[895],[11,896,897,898,902,903,907,908,911],{},"Below are the CSS utility classes used by the ",[15,899,900],{},[586,901],{"value":743}," component. They make use of the ",[773,904,906],{"href":905},"#css-variables","CSS variables"," described above and ",[773,909,910],{"href":775},"define the default styling"," for the component's markup elements.",{"title":31,"searchDepth":138,"depth":138,"links":913},[],"section-styling-css-classes-intro","VRtlxQ59m9iNVrWHp9r1OAy2lkklqQPtKbRIkwVCY6A",{"id":917,"data":6,"extension":147,"meta":918,"stem":939,"__hash__":940},"shared\u002Fsection-styling-css-variables-intro.md",{"body":919},{"type":8,"value":920,"toc":937},[921],[11,922,923,924,927,928,932,933,81],{},"Here is a set of CSS variables you can ",[48,925,926],{},"use to customize the appearance"," of the ",[15,929,930],{},[586,931],{"value":743}," component globally. More about theming and styling with CSS variables, ",[582,934,936],{"hash":935,"label":584},"css-variables","$docs-guidelines-theming",{"title":31,"searchDepth":138,"depth":138,"links":938},[],"section-styling-css-variables-intro","Vk6yVXoMwLNtqisCZhk9m2F3-wHKjiujWtBBZbTJcD4",{"id":942,"data":6,"extension":147,"meta":943,"stem":970,"__hash__":971},"shared\u002Fsection-styling-intro.md",{"body":944},{"type":8,"value":945,"toc":968},[946,959],[637,947,949],{"title":948,"type":666},"Styling from Markdown",[11,950,951,952,955,956,81],{},"Every DocLayer component ",[48,953,954],{},"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 ",[582,957,885],{"hash":958,"label":584},"styling-inside-the-markdown-files",[11,960,961,962],{},"Below you'll find the default set of Tailwind classes for the component's dedicated markup elements. ",[577,963,964],{},[586,965],{"defaultValue":966,"value":967},"undefined","$doc.extend",{"title":31,"searchDepth":138,"depth":138,"links":969},[],"section-styling-intro","8V_zEj7QXax6dzKp918ZNy97d9u4qk6TaE40wI5JWEs",{"id":973,"data":6,"extension":147,"meta":974,"stem":1014,"__hash__":1015},"shared\u002Fsection-utility-exports-disclaimer.md",{"body":975},{"type":8,"value":976,"toc":1012},[977],[637,978,979,986,1005],{"title":639,"type":666},[11,980,981,982,985],{},"This utility is ",[48,983,984],{},"exported from the module"," package.",[20,987,990,996],{"dynamic":988,"tabs":989},"utilityName","file.ts",[24,991,994],{"className":992,"code":993,"language":30,"meta":31},[27],"import { :dl-dynamic: } from '@vuehouse\u002Fdl\u002Fexports';\n\"cref:zseli7\"\n",[15,995,993],{"__ignoreMap":31},[515,997,998],{"v-slot:props":31},[11,999,1000,1001,1004],{},"{\"dynamic\": \"",[586,1002],{"value":1003},"$doc.utilityName","\" }",[11,1006,1007,1008,1011],{},"You can use it this way ",[48,1009,1010],{},"when the global context is not available"," and utility can't be loaded automatically by Nuxt.",{"title":31,"searchDepth":138,"depth":138,"links":1013},[],"section-utility-exports-disclaimer","FXCXHiiD49oOkbSwsKFpp4m0gsXkZdnUwCwWnVjwucI",{"id":1017,"data":6,"extension":147,"meta":1018,"stem":1042,"__hash__":1043},"shared\u002Ftooltip-app-config-path.md",{"body":1019},{"type":8,"value":1020,"toc":1040},[1021],[1022,1023,1026],"dl-tooltip",{"label":1024,"tooltip":1025},"`app.config.ts`","In-app file path: app\u002Fapp.config.ts",[515,1027,1028],{"v-slot:props":31},[11,1029,1030,1031,1035,1036,1039],{},"{\"tooltip\": \"In-app file path: ",[586,1032],{"defaultValue":1033,"value":1034},"app\u002Fapp.config.ts","$doc.tooltip","\", \"label\": \"",[586,1037],{"defaultValue":1024,"value":1038},"$doc.label","\"}",{"title":31,"searchDepth":138,"depth":138,"links":1041},[],"tooltip-app-config-path","WVDQKyALt7paYD6Tr7K10fmQ27d2XjzO_oxDKHCgSdc",{"id":1045,"data":6,"extension":147,"meta":1046,"stem":1055,"__hash__":1056},"shared\u002Ftooltip-rag.md",{"body":1047},{"type":8,"value":1048,"toc":1053},[1049],[1022,1050],{"label":1051,"lock-width":79,"tooltip":1052},"**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":31,"searchDepth":138,"depth":138,"links":1054},[],"tooltip-rag","fDKuZzfT8d6JNox0uI1P0_ktG8kYWiz7WGsWWo7gTGs",[1058,1059,1060,1062],{"title":392,"path":393,"stem":394,"description":395,"children":-1},{"title":192,"path":397,"stem":398,"description":399,"children":-1},{"title":403,"path":1061,"stem":405,"children":-1,"description":6,"icon":416},"\u002Fdocs\u002Fdeployment\u002F.navigation",{"title":408,"path":404,"stem":405,"description":409,"children":-1},1795796071583]