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