[{"data":1,"prerenderedAt":815},["ShallowReactive",2],{"navigation_docs_en":3,"-en-ai-llms":122,"-en-ai-llms-surround":813},[4,41,77,103],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":40},"Getting Started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F1.getting-started",[10,15,20,25,30,35],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F1.getting-started\u002F2.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F1.getting-started\u002F3.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Project Structure","\u002Fen\u002Fgetting-started\u002Fproject-structure","en\u002F1.getting-started\u002F4.project-structure","i-lucide-folder-tree",{"title":26,"path":27,"stem":28,"icon":29},"Studio module","\u002Fen\u002Fgetting-started\u002Fstudio","en\u002F1.getting-started\u002F5.studio","i-lucide-mouse-pointer-2",{"title":31,"path":32,"stem":33,"icon":34},"Migration","\u002Fen\u002Fgetting-started\u002Fmigration","en\u002F1.getting-started\u002F6.migration","i-lucide-replace",{"title":36,"path":37,"stem":38,"icon":39},"Troubleshooting","\u002Fen\u002Fgetting-started\u002Ftroubleshooting","en\u002F1.getting-started\u002F7.troubleshooting","i-lucide-wrench",false,{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":40},"Core Concepts","i-lucide-brain","\u002Fen\u002Fconcepts","en\u002F2.concepts",[47,52,57,62,67,72],{"title":48,"path":49,"stem":50,"icon":51},"Edition","\u002Fen\u002Fconcepts\u002Fedition","en\u002F2.concepts\u002F2.edition","i-lucide-pencil",{"title":53,"path":54,"stem":55,"icon":56},"Configuration","\u002Fen\u002Fconcepts\u002Fconfiguration","en\u002F2.concepts\u002F3.configuration","i-lucide-settings",{"title":58,"path":59,"stem":60,"icon":61},"Theme","\u002Fen\u002Fconcepts\u002Ftheme","en\u002F2.concepts\u002F4.theme","i-lucide-paint-roller",{"title":63,"path":64,"stem":65,"icon":66},"Customization","\u002Fen\u002Fconcepts\u002Fcustomization","en\u002F2.concepts\u002F5.customization","i-lucide-pen-tool",{"title":68,"path":69,"stem":70,"icon":71},"Internationalization","\u002Fen\u002Fconcepts\u002Finternationalization","en\u002F2.concepts\u002F6.internationalization","i-lucide-globe",{"title":73,"path":74,"stem":75,"icon":76},"Nuxt","\u002Fen\u002Fconcepts\u002Fnuxt","en\u002F2.concepts\u002F8.nuxt","i-simple-icons-nuxt",{"title":78,"icon":79,"path":80,"stem":81,"children":82,"page":40},"Essentials","i-lucide-book-open","\u002Fen\u002Fessentials","en\u002F3.essentials",[83,88,93,98],{"title":84,"path":85,"stem":86,"icon":87},"Markdown Syntax","\u002Fen\u002Fessentials\u002Fmarkdown-syntax","en\u002F3.essentials\u002F1.markdown-syntax","i-lucide-heading-1",{"title":89,"path":90,"stem":91,"icon":92},"Code Blocks","\u002Fen\u002Fessentials\u002Fcode-blocks","en\u002F3.essentials\u002F2.code-blocks","i-lucide-code-xml",{"title":94,"path":95,"stem":96,"icon":97},"Components","\u002Fen\u002Fessentials\u002Fcomponents","en\u002F3.essentials\u002F3.components","i-lucide-component",{"title":99,"path":100,"stem":101,"icon":102},"Images and Embeds","\u002Fen\u002Fessentials\u002Fimages-embeds","en\u002F3.essentials\u002F4.images-embeds","i-lucide-image",{"title":104,"icon":105,"path":106,"stem":107,"children":108,"page":40},"AI","i-lucide-sparkles","\u002Fen\u002Fai","en\u002F4.ai",[109,113,117],{"title":110,"path":111,"stem":112},"Agent","\u002Fen\u002Fai\u002Fassistant","en\u002F4.ai\u002F1.assistant",{"title":114,"path":115,"stem":116},"MCP Server","\u002Fen\u002Fai\u002Fmcp","en\u002F4.ai\u002F2.mcp",{"title":118,"path":119,"stem":120,"icon":121},"LLMs Integration","\u002Fen\u002Fai\u002Fllms","en\u002F4.ai\u002F3.llms","i-lucide-message-circle-code",{"id":123,"title":118,"body":124,"description":806,"extension":807,"links":808,"meta":809,"navigation":810,"path":119,"seo":811,"stem":120,"__hash__":812},"docs_en\u002Fen\u002F4.ai\u002F3.llms.md",{"type":125,"value":126,"toc":792},"minimark",[127,144,152,157,163,207,211,218,382,386,392,397,446,450,453,458,571,574,619,623,626,629,633,640,644,647,667,671,695,699,780,783,788],[128,129,130,131,135,136,139,140,143],"p",{},"Docus integrates ",[132,133,134],"code",{},"nuxt-llms"," by default to prepare your content for Large Language Models (LLMs). All your documentation pages are injected and ",[132,137,138],{},"\u002Fllms.txt"," and ",[132,141,142],{},"\u002Fllms-full.txt"," files are automatically generated and pre-rendered.",[145,146,148,149,151],"note",{"to":147},"https:\u002F\u002Fdocus.dev\u002Fllms.txt","Have a check at the ",[132,150,138],{}," file generated for Docus documentation itself.",[153,154,156],"h2",{"id":155},"defaults","Defaults",[128,158,159,160,162],{},"Here are the default values use to generate the ",[132,161,138],{}," file:",[164,165,166,177,186,193,200],"ul",{},[167,168,169,172,173,176],"li",{},[132,170,171],{},"domain"," → computed based on your deployment platform (or by using ",[132,174,175],{},"NUXT_SITE_URL"," env variable)",[167,178,179,182,183],{},[132,180,181],{},"title"," → extracted from your ",[132,184,185],{},"package.json",[167,187,188,182,191],{},[132,189,190],{},"description",[132,192,185],{},[167,194,195,182,198],{},[132,196,197],{},"full.title",[132,199,185],{},[167,201,202,182,205],{},[132,203,204],{},"full.description",[132,206,185],{},[153,208,210],{"id":209},"customize","Customize",[128,212,213,214,217],{},"You can override your LLMs data from the ",[132,215,216],{},"nuxt.config.ts"," :",[219,220,225],"pre",{"className":221,"code":222,"filename":216,"language":223,"meta":224,"style":224},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  llms: {\n    domain: 'https:\u002F\u002Fyour-site.com',\n    title: 'Your Site Name',\n    description: 'A brief description of your site',\n    full: {\n      title: 'Your Site Name',\n      description: 'A brief description of your site',\n    },\n  },\n})\n","ts","",[132,226,227,251,264,285,302,319,329,345,361,367,373],{"__ignoreMap":224},[228,229,232,236,239,243,247],"span",{"class":230,"line":231},"line",1,[228,233,235],{"class":234},"s7zQu","export",[228,237,238],{"class":234}," default",[228,240,242],{"class":241},"s2Zo4"," defineNuxtConfig",[228,244,246],{"class":245},"sTEyZ","(",[228,248,250],{"class":249},"sMK4o","{\n",[228,252,254,258,261],{"class":230,"line":253},2,[228,255,257],{"class":256},"swJcz","  llms",[228,259,260],{"class":249},":",[228,262,263],{"class":249}," {\n",[228,265,267,270,272,275,279,282],{"class":230,"line":266},3,[228,268,269],{"class":256},"    domain",[228,271,260],{"class":249},[228,273,274],{"class":249}," '",[228,276,278],{"class":277},"sfazB","https:\u002F\u002Fyour-site.com",[228,280,281],{"class":249},"'",[228,283,284],{"class":249},",\n",[228,286,288,291,293,295,298,300],{"class":230,"line":287},4,[228,289,290],{"class":256},"    title",[228,292,260],{"class":249},[228,294,274],{"class":249},[228,296,297],{"class":277},"Your Site Name",[228,299,281],{"class":249},[228,301,284],{"class":249},[228,303,305,308,310,312,315,317],{"class":230,"line":304},5,[228,306,307],{"class":256},"    description",[228,309,260],{"class":249},[228,311,274],{"class":249},[228,313,314],{"class":277},"A brief description of your site",[228,316,281],{"class":249},[228,318,284],{"class":249},[228,320,322,325,327],{"class":230,"line":321},6,[228,323,324],{"class":256},"    full",[228,326,260],{"class":249},[228,328,263],{"class":249},[228,330,332,335,337,339,341,343],{"class":230,"line":331},7,[228,333,334],{"class":256},"      title",[228,336,260],{"class":249},[228,338,274],{"class":249},[228,340,297],{"class":277},[228,342,281],{"class":249},[228,344,284],{"class":249},[228,346,348,351,353,355,357,359],{"class":230,"line":347},8,[228,349,350],{"class":256},"      description",[228,352,260],{"class":249},[228,354,274],{"class":249},[228,356,314],{"class":277},[228,358,281],{"class":249},[228,360,284],{"class":249},[228,362,364],{"class":230,"line":363},9,[228,365,366],{"class":249},"    },\n",[228,368,370],{"class":230,"line":369},10,[228,371,372],{"class":249},"  },\n",[228,374,376,379],{"class":230,"line":375},11,[228,377,378],{"class":249},"}",[228,380,381],{"class":245},")\n",[153,383,385],{"id":384},"raw-markdown-access","Raw Markdown Access",[128,387,388,389,391],{},"When ",[132,390,134],{}," is enabled, Docus also exposes a raw markdown endpoint so AI agents can fetch LLM-ready source files without going through the full rendering pipeline. This reduces token usage and improves response speed for AI-powered tools consuming your documentation.",[393,394,396],"h3",{"id":395},"how-it-works","How it works",[164,398,399,418,426,432],{},[167,400,401,405,406,409,410,413,414,417],{},[402,403,404],"strong",{},"Endpoint",": ",[132,407,408],{},"\u002Fraw\u002F\u003Ccontent-path>.md"," — use the same path as the page URL, drop trailing ",[132,411,412],{},"\u002Findex",", and keep the ",[132,415,416],{},".md"," extension",[167,419,420,405,423],{},[402,421,422],{},"Content-Type",[132,424,425],{},"text\u002Fmarkdown; charset=utf-8",[167,427,428,431],{},[402,429,430],{},"Auto-enrichment",": if the requested document is missing a top-level heading or description, the route automatically prepends the title and description to the markdown body",[167,433,434,437,438,441,442,445],{},[402,435,436],{},"LLMs.txt integration",": document links in ",[132,439,440],{},"llms.txt"," are automatically rewritten to the ",[132,443,444],{},"\u002Fraw\u002F...md"," endpoint, so agents fetch compact markdown instead of full HTML",[145,447,449],{"to":448},"\u002Fraw\u002Fen\u002Fai\u002Fllms.md","Try accessing the raw Markdown version of this page.",[393,451,53],{"id":452},"configuration",[128,454,455,456,260],{},"You can customize the raw markdown behavior from your ",[132,457,216],{},[219,459,461],{"className":221,"code":460,"filename":216,"language":223,"meta":224,"style":224},"export default defineNuxtConfig({\n  llms: {\n    contentRawMarkdown: {\n      \u002F\u002F Prevent specific page collections from being exposed\n      excludeCollections: ['landing', 'landing_en', 'landing_fr'],\n      \u002F\u002F Keep llms.txt links pointing to rendered pages instead of raw markdown\n      rewriteLLMSTxt: false,\n    },\n  },\n})\n",[132,462,463,475,483,492,498,539,544,557,561,565],{"__ignoreMap":224},[228,464,465,467,469,471,473],{"class":230,"line":231},[228,466,235],{"class":234},[228,468,238],{"class":234},[228,470,242],{"class":241},[228,472,246],{"class":245},[228,474,250],{"class":249},[228,476,477,479,481],{"class":230,"line":253},[228,478,257],{"class":256},[228,480,260],{"class":249},[228,482,263],{"class":249},[228,484,485,488,490],{"class":230,"line":266},[228,486,487],{"class":256},"    contentRawMarkdown",[228,489,260],{"class":249},[228,491,263],{"class":249},[228,493,494],{"class":230,"line":287},[228,495,497],{"class":496},"sHwdD","      \u002F\u002F Prevent specific page collections from being exposed\n",[228,499,500,503,505,508,510,513,515,518,520,523,525,527,529,532,534,537],{"class":230,"line":304},[228,501,502],{"class":256},"      excludeCollections",[228,504,260],{"class":249},[228,506,507],{"class":245}," [",[228,509,281],{"class":249},[228,511,512],{"class":277},"landing",[228,514,281],{"class":249},[228,516,517],{"class":249},",",[228,519,274],{"class":249},[228,521,522],{"class":277},"landing_en",[228,524,281],{"class":249},[228,526,517],{"class":249},[228,528,274],{"class":249},[228,530,531],{"class":277},"landing_fr",[228,533,281],{"class":249},[228,535,536],{"class":245},"]",[228,538,284],{"class":249},[228,540,541],{"class":230,"line":321},[228,542,543],{"class":496},"      \u002F\u002F Keep llms.txt links pointing to rendered pages instead of raw markdown\n",[228,545,546,549,551,555],{"class":230,"line":331},[228,547,548],{"class":256},"      rewriteLLMSTxt",[228,550,260],{"class":249},[228,552,554],{"class":553},"sfNiH"," false",[228,556,284],{"class":249},[228,558,559],{"class":230,"line":347},[228,560,366],{"class":249},[228,562,563],{"class":230,"line":363},[228,564,372],{"class":249},[228,566,567,569],{"class":230,"line":369},[228,568,378],{"class":249},[228,570,381],{"class":245},[128,572,573],{},"To disable raw markdown access entirely:",[219,575,577],{"className":221,"code":576,"filename":216,"language":223,"meta":224,"style":224},"export default defineNuxtConfig({\n  llms: {\n    contentRawMarkdown: false,\n  },\n})\n",[132,578,579,591,599,609,613],{"__ignoreMap":224},[228,580,581,583,585,587,589],{"class":230,"line":231},[228,582,235],{"class":234},[228,584,238],{"class":234},[228,586,242],{"class":241},[228,588,246],{"class":245},[228,590,250],{"class":249},[228,592,593,595,597],{"class":230,"line":253},[228,594,257],{"class":256},[228,596,260],{"class":249},[228,598,263],{"class":249},[228,600,601,603,605,607],{"class":230,"line":266},[228,602,487],{"class":256},[228,604,260],{"class":249},[228,606,554],{"class":553},[228,608,284],{"class":249},[228,610,611],{"class":230,"line":287},[228,612,372],{"class":249},[228,614,615,617],{"class":230,"line":304},[228,616,378],{"class":249},[228,618,381],{"class":245},[153,620,622],{"id":621},"markdown-redirection","Markdown Redirection",[145,624,625],{},"This feature is only available when Docus is deployed on Vercel. We'll be able to make it agnostic once Nitro v3 supports global rewrites for multi vendors.",[128,627,628],{},"When deployed on Vercel, Docus automatically configures intelligent routing to serve markdown content to AI agents and CLI tools.",[393,630,632],{"id":631},"why","Why?",[128,634,635,636,639],{},"Agents like Claude Code use ",[132,637,638],{},"Accept: text\u002Fmarkdown"," headers by default, retuning raw Markdown is saving lots of data transfer and tokens in the process.",[393,641,643],{"id":642},"how","How?",[128,645,646],{},"Docus detects requests from AI agents and command-line tools using HTTP headers:",[164,648,649,658],{},[167,650,651,654,655,657],{},[402,652,653],{},"Accept header",": Requests with ",[132,656,638],{}," are automatically redirected",[167,659,660,405,663,666],{},[402,661,662],{},"User-agent detection",[132,664,665],{},"curl"," requests as agents are automatically redirected",[393,668,670],{"id":669},"redirect-rules","Redirect Rules",[164,672,673,684],{},[167,674,675,405,678,681,682],{},[402,676,677],{},"Root path",[132,679,680],{},"\u002F"," → ",[132,683,138],{},[167,685,686,405,689,681,692],{},[402,687,688],{},"Documentation pages",[132,690,691],{},"\u002F{path}",[132,693,694],{},"\u002Fraw\u002F{path}.md",[393,696,698],{"id":697},"example-usage","Example Usage",[219,700,704],{"className":701,"code":702,"language":703,"meta":224,"style":224},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Get llms.txt from homepage\ncurl -H \"Accept: text\u002Fmarkdown\" https:\u002F\u002Fdocus.dev\u002F\n\n# Get llms.txt from locale homepage\ncurl -H \"Accept: text\u002Fmarkdown\" https:\u002F\u002Fdocus.dev\u002Fen\n\n# Get raw markdown for a documentation page\ncurl -H \"Accept: text\u002Fmarkdown\" https:\u002F\u002Fdocus.dev\u002Fen\u002Fai\u002Fllms\n","bash",[132,705,706,711,730,736,741,756,760,765],{"__ignoreMap":224},[228,707,708],{"class":230,"line":231},[228,709,710],{"class":496},"# Get llms.txt from homepage\n",[228,712,713,716,719,722,724,727],{"class":230,"line":253},[228,714,665],{"class":715},"sBMFI",[228,717,718],{"class":277}," -H",[228,720,721],{"class":249}," \"",[228,723,638],{"class":277},[228,725,726],{"class":249},"\"",[228,728,729],{"class":277}," https:\u002F\u002Fdocus.dev\u002F\n",[228,731,732],{"class":230,"line":266},[228,733,735],{"emptyLinePlaceholder":734},true,"\n",[228,737,738],{"class":230,"line":287},[228,739,740],{"class":496},"# Get llms.txt from locale homepage\n",[228,742,743,745,747,749,751,753],{"class":230,"line":304},[228,744,665],{"class":715},[228,746,718],{"class":277},[228,748,721],{"class":249},[228,750,638],{"class":277},[228,752,726],{"class":249},[228,754,755],{"class":277}," https:\u002F\u002Fdocus.dev\u002Fen\n",[228,757,758],{"class":230,"line":321},[228,759,735],{"emptyLinePlaceholder":734},[228,761,762],{"class":230,"line":331},[228,763,764],{"class":496},"# Get raw markdown for a documentation page\n",[228,766,767,769,771,773,775,777],{"class":230,"line":347},[228,768,665],{"class":715},[228,770,718],{"class":277},[228,772,721],{"class":249},[228,774,638],{"class":277},[228,776,726],{"class":249},[228,778,779],{"class":277}," https:\u002F\u002Fdocus.dev\u002Fen\u002Fai\u002Fllms\n",[128,781,782],{},"All these commands will return markdown content instead of HTML.",[784,785,787],"tip",{"to":786},"https:\u002F\u002Fgithub.com\u002Fnuxt-content\u002Fnuxt-llms","Checkout the nuxt-llms documentation for more information about the module.",[789,790,791],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":224,"searchDepth":253,"depth":253,"links":793},[794,795,796,800],{"id":155,"depth":253,"text":156},{"id":209,"depth":253,"text":210},{"id":384,"depth":253,"text":385,"children":797},[798,799],{"id":395,"depth":266,"text":396},{"id":452,"depth":266,"text":53},{"id":621,"depth":253,"text":622,"children":801},[802,803,804,805],{"id":631,"depth":266,"text":632},{"id":642,"depth":266,"text":643},{"id":669,"depth":266,"text":670},{"id":697,"depth":266,"text":698},"Docus generate AI-ready content files using Nuxt LLMs module","md",null,{},{"icon":121},{"title":118,"description":806},"rrW0HOCbyMkenMdaifGOJoYABCE3Et7uWdRG8R-lBIM",[814,808],{"title":114,"path":115,"stem":116,"description":224,"children":-1},1774665275475]