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