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