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