[{"data":1,"prerenderedAt":1429},["ShallowReactive",2],{"navigation_docs_en":3,"-en-ai-llms":128,"-en-ai-llms-surround":1426},[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":1420,"extension":688,"links":1421,"meta":1422,"navigation":1423,"path":125,"seo":1424,"stem":126,"__hash__":1425},"docs_en\u002Fen\u002F4.ai\u002F4.llms.md",{"type":131,"value":132,"toc":1402},"minimark",[133,150,158,163,169,213,217,224,388,393,401,419,649,653,656,684,827,838,853,856,907,910,959,963,969,973,1020,1024,1027,1032,1141,1144,1189,1193,1196,1199,1203,1209,1213,1216,1235,1239,1262,1266,1339,1342,1346,1353,1393,1398],[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",[389,390,392],"h3",{"id":391},"guiding-agents","Guiding agents",[134,394,395,396,400],{},"Your pages tell an agent what your product does. They rarely tell it ",[397,398,399],"em",{},"when"," to reach for you, which is what an agent needs before recommending you. Two options cover that:",[170,402,403,409],{},[173,404,405,408],{},[138,406,407],{},"sections"," adds a group of links on top of the generated page list, for resources that live outside your content (a repository, a package, an API reference)",[173,410,411,414,415,418],{},[138,412,413],{},"notes"," adds a ",[138,416,417],{},"## Notes"," block at the end of the document, the right place for when-to-use guidance",[225,420,422],{"className":227,"code":421,"filename":222,"language":229,"meta":230,"style":230},"export default defineNuxtConfig({\n  llms: {\n    domain: 'https:\u002F\u002Fyour-site.com',\n    sections: [\n      {\n        title: 'Developer Resources',\n        description: 'Machine-readable entry points for this documentation.',\n        links: [\n          { title: 'Source on GitHub', description: 'Issues and releases.', href: 'https:\u002F\u002Fgithub.com\u002Fyour-org\u002Fyour-repo' },\n        ],\n      },\n    ],\n    notes: [\n      'When to use this library: you are building X and want Y.',\n      'This library is not a replacement for Z. For that, use W instead.',\n      'Reading this documentation as an agent: append `.md` to any page URL, or send `Accept: text\u002Fmarkdown`.',\n    ],\n  },\n})\n",[138,423,424,436,444,458,468,473,489,505,514,563,570,575,583,593,606,618,630,637,642],{"__ignoreMap":230},[234,425,426,428,430,432,434],{"class":236,"line":237},[234,427,241],{"class":240},[234,429,244],{"class":240},[234,431,248],{"class":247},[234,433,252],{"class":251},[234,435,256],{"class":255},[234,437,438,440,442],{"class":236,"line":259},[234,439,263],{"class":262},[234,441,266],{"class":255},[234,443,269],{"class":255},[234,445,446,448,450,452,454,456],{"class":236,"line":272},[234,447,275],{"class":262},[234,449,266],{"class":255},[234,451,280],{"class":255},[234,453,284],{"class":283},[234,455,287],{"class":255},[234,457,290],{"class":255},[234,459,460,463,465],{"class":236,"line":293},[234,461,462],{"class":262},"    sections",[234,464,266],{"class":255},[234,466,467],{"class":251}," [\n",[234,469,470],{"class":236,"line":310},[234,471,472],{"class":255},"      {\n",[234,474,475,478,480,482,485,487],{"class":236,"line":327},[234,476,477],{"class":262},"        title",[234,479,266],{"class":255},[234,481,280],{"class":255},[234,483,484],{"class":283},"Developer Resources",[234,486,287],{"class":255},[234,488,290],{"class":255},[234,490,491,494,496,498,501,503],{"class":236,"line":337},[234,492,493],{"class":262},"        description",[234,495,266],{"class":255},[234,497,280],{"class":255},[234,499,500],{"class":283},"Machine-readable entry points for this documentation.",[234,502,287],{"class":255},[234,504,290],{"class":255},[234,506,507,510,512],{"class":236,"line":353},[234,508,509],{"class":262},"        links",[234,511,266],{"class":255},[234,513,467],{"class":251},[234,515,516,519,522,524,526,529,531,534,537,539,541,544,546,548,551,553,555,558,560],{"class":236,"line":369},[234,517,518],{"class":255},"          {",[234,520,521],{"class":262}," title",[234,523,266],{"class":255},[234,525,280],{"class":255},[234,527,528],{"class":283},"Source on GitHub",[234,530,287],{"class":255},[234,532,533],{"class":255},",",[234,535,536],{"class":262}," description",[234,538,266],{"class":255},[234,540,280],{"class":255},[234,542,543],{"class":283},"Issues and releases.",[234,545,287],{"class":255},[234,547,533],{"class":255},[234,549,550],{"class":262}," href",[234,552,266],{"class":255},[234,554,280],{"class":255},[234,556,557],{"class":283},"https:\u002F\u002Fgithub.com\u002Fyour-org\u002Fyour-repo",[234,559,287],{"class":255},[234,561,562],{"class":255}," },\n",[234,564,565,568],{"class":236,"line":375},[234,566,567],{"class":251},"        ]",[234,569,290],{"class":255},[234,571,572],{"class":236,"line":381},[234,573,574],{"class":255},"      },\n",[234,576,578,581],{"class":236,"line":577},12,[234,579,580],{"class":251},"    ]",[234,582,290],{"class":255},[234,584,586,589,591],{"class":236,"line":585},13,[234,587,588],{"class":262},"    notes",[234,590,266],{"class":255},[234,592,467],{"class":251},[234,594,596,599,602,604],{"class":236,"line":595},14,[234,597,598],{"class":255},"      '",[234,600,601],{"class":283},"When to use this library: you are building X and want Y.",[234,603,287],{"class":255},[234,605,290],{"class":255},[234,607,609,611,614,616],{"class":236,"line":608},15,[234,610,598],{"class":255},[234,612,613],{"class":283},"This library is not a replacement for Z. For that, use W instead.",[234,615,287],{"class":255},[234,617,290],{"class":255},[234,619,621,623,626,628],{"class":236,"line":620},16,[234,622,598],{"class":255},[234,624,625],{"class":283},"Reading this documentation as an agent: append `.md` to any page URL, or send `Accept: text\u002Fmarkdown`.",[234,627,287],{"class":255},[234,629,290],{"class":255},[234,631,633,635],{"class":236,"line":632},17,[234,634,580],{"class":251},[234,636,290],{"class":255},[234,638,640],{"class":236,"line":639},18,[234,641,378],{"class":255},[234,643,645,647],{"class":236,"line":644},19,[234,646,384],{"class":255},[234,648,387],{"class":251},[159,650,652],{"id":651},"agent-friendly-404s","Agent-friendly 404s",[134,654,655],{},"Instead of replying with a JSON error body, Docus replies with a short markdown document, listing the machine-readable entry points your site actually serves:",[225,657,661],{"className":658,"code":659,"language":660,"meta":230,"style":230},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -H \"Accept: text\u002Fmarkdown\" https:\u002F\u002Fdocus.dev\u002Fen\u002Fdoes-not-exist\n","bash",[138,662,663],{"__ignoreMap":230},[234,664,665,669,672,675,678,681],{"class":236,"line":237},[234,666,668],{"class":667},"sBMFI","curl",[234,670,671],{"class":283}," -H",[234,673,674],{"class":255}," \"",[234,676,677],{"class":283},"Accept: text\u002Fmarkdown",[234,679,680],{"class":255},"\"",[234,682,683],{"class":283}," https:\u002F\u002Fdocus.dev\u002Fen\u002Fdoes-not-exist\n",[225,685,689],{"className":686,"code":687,"language":688,"meta":230,"style":230},"language-md shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# 404 — Page not found\n\n`\u002Fen\u002Fdoes-not-exist` was not found on this site.\n\n## Where to look next\n\n- [\u002Fllms.txt](\u002Fllms.txt): index of Docus\n- [\u002Fllms-full.txt](\u002Fllms-full.txt): the full content of this site as a single markdown document\n- [\u002Fsitemap.xml](\u002Fsitemap.xml): every page, with its last modification date\n- [\u002F.well-known\u002Fskills\u002Findex.json](\u002F.well-known\u002Fskills\u002Findex.json): agent skills published by this site\n- [\u002F](\u002F): home page\n","md",[138,690,691,699,705,718,722,730,734,756,773,791,809],{"__ignoreMap":230},[234,692,693,696],{"class":236,"line":237},[234,694,695],{"class":255},"# ",[234,697,698],{"class":667},"404 — Page not found\n",[234,700,701],{"class":236,"line":259},[234,702,704],{"emptyLinePlaceholder":703},true,"\n",[234,706,707,710,713,715],{"class":236,"line":272},[234,708,709],{"class":255},"`",[234,711,712],{"class":283},"\u002Fen\u002Fdoes-not-exist",[234,714,709],{"class":255},[234,716,717],{"class":251}," was not found on this site.\n",[234,719,720],{"class":236,"line":293},[234,721,704],{"emptyLinePlaceholder":703},[234,723,724,727],{"class":236,"line":310},[234,725,726],{"class":255},"## ",[234,728,729],{"class":667},"Where to look next\n",[234,731,732],{"class":236,"line":327},[234,733,704],{"emptyLinePlaceholder":703},[234,735,736,739,742,744,747,750,753],{"class":236,"line":337},[234,737,738],{"class":255},"-",[234,740,741],{"class":255}," [",[234,743,144],{"class":283},[234,745,746],{"class":255},"](",[234,748,144],{"class":749},"sDpXG",[234,751,752],{"class":255},")",[234,754,755],{"class":251},": index of Docus\n",[234,757,758,760,762,764,766,768,770],{"class":236,"line":353},[234,759,738],{"class":255},[234,761,741],{"class":255},[234,763,148],{"class":283},[234,765,746],{"class":255},[234,767,148],{"class":749},[234,769,752],{"class":255},[234,771,772],{"class":251},": the full content of this site as a single markdown document\n",[234,774,775,777,779,782,784,786,788],{"class":236,"line":369},[234,776,738],{"class":255},[234,778,741],{"class":255},[234,780,781],{"class":283},"\u002Fsitemap.xml",[234,783,746],{"class":255},[234,785,781],{"class":749},[234,787,752],{"class":255},[234,789,790],{"class":251},": every page, with its last modification date\n",[234,792,793,795,797,800,802,804,806],{"class":236,"line":375},[234,794,738],{"class":255},[234,796,741],{"class":255},[234,798,799],{"class":283},"\u002F.well-known\u002Fskills\u002Findex.json",[234,801,746],{"class":255},[234,803,799],{"class":749},[234,805,752],{"class":255},[234,807,808],{"class":251},": agent skills published by this site\n",[234,810,811,813,815,818,820,822,824],{"class":236,"line":381},[234,812,738],{"class":255},[234,814,741],{"class":255},[234,816,817],{"class":283},"\u002F",[234,819,746],{"class":255},[234,821,817],{"class":749},[234,823,752],{"class":255},[234,825,826],{"class":251},": home page\n",[134,828,829,830,834,835,837],{},"The skills entry only appears when your site ",[831,832,833],"a",{"href":120},"publishes skills",", and ",[138,836,148],{}," only when it is enabled, so the document never points at a route that does not exist.",[134,839,840,841,844,845,848,849,852],{},"The response keeps the ",[138,842,843],{},"404"," status and is served as ",[138,846,847],{},"text\u002Fmarkdown; charset=utf-8"," with ",[138,850,851],{},"Vary: Accept",", so CDNs never mix it up with the HTML variant.",[134,854,855],{},"Only clients that clearly aren't rendering HTML get this document. Untouched:",[170,857,858,869,886,901],{},[173,859,860,864,865,868],{},[861,862,863],"strong",{},"Browsers",": any request accepting ",[138,866,867],{},"text\u002Fhtml"," still renders the theme error page",[173,870,871,874,875,878,879,145,882,885],{},[861,872,873],{},"API clients",": requests accepting ",[138,876,877],{},"application\u002Fjson",", or targeting ",[138,880,881],{},"\u002Fapi\u002F**",[138,883,884],{},"*.json",", keep the default JSON error body",[173,887,888,896,897,900],{},[861,889,890,145,893],{},[138,891,892],{},"fetch()",[138,894,895],{},"$fetch",": browser-initiated requests keep the default JSON error body, so ",[138,898,899],{},"error.data"," stays parseable",[173,902,903,906],{},[861,904,905],{},"Assets",": a missing script, style, image or feed keeps the default error body, since markdown would be meaningless there",[134,908,909],{},"To restore the default error body:",[225,911,913],{"className":227,"code":912,"filename":222,"language":229,"meta":230,"style":230},"export default defineNuxtConfig({\n  docus: {\n    notFound: false,\n  },\n})\n",[138,914,915,927,936,949,953],{"__ignoreMap":230},[234,916,917,919,921,923,925],{"class":236,"line":237},[234,918,241],{"class":240},[234,920,244],{"class":240},[234,922,248],{"class":247},[234,924,252],{"class":251},[234,926,256],{"class":255},[234,928,929,932,934],{"class":236,"line":259},[234,930,931],{"class":262},"  docus",[234,933,266],{"class":255},[234,935,269],{"class":255},[234,937,938,941,943,947],{"class":236,"line":272},[234,939,940],{"class":262},"    notFound",[234,942,266],{"class":255},[234,944,946],{"class":945},"sfNiH"," false",[234,948,290],{"class":255},[234,950,951],{"class":236,"line":293},[234,952,378],{"class":255},[234,954,955,957],{"class":236,"line":310},[234,956,384],{"class":255},[234,958,387],{"class":251},[159,960,962],{"id":961},"raw-markdown-access","Raw Markdown Access",[134,964,965,966,968],{},"When ",[138,967,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.",[389,970,972],{"id":971},"how-it-works","How it works",[170,974,975,993,1000,1006],{},[173,976,977,980,981,984,985,988,989,992],{},[861,978,979],{},"Endpoint",": ",[138,982,983],{},"\u002Fraw\u002F\u003Ccontent-path>.md"," — use the same path as the page URL, drop trailing ",[138,986,987],{},"\u002Findex",", and keep the ",[138,990,991],{},".md"," extension",[173,994,995,980,998],{},[861,996,997],{},"Content-Type",[138,999,847],{},[173,1001,1002,1005],{},[861,1003,1004],{},"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,1007,1008,1011,1012,1015,1016,1019],{},[861,1009,1010],{},"LLMs.txt integration",": document links in ",[138,1013,1014],{},"llms.txt"," are automatically rewritten to the ",[138,1017,1018],{},"\u002Fraw\u002F...md"," endpoint, so agents fetch compact markdown instead of full HTML",[151,1021,1023],{"to":1022},"\u002Fraw\u002Fen\u002Fai\u002Fllms.md","Try accessing the raw Markdown version of this page.",[389,1025,53],{"id":1026},"configuration",[134,1028,1029,1030,266],{},"You can customize the raw markdown behavior from your ",[138,1031,222],{},[225,1033,1035],{"className":227,"code":1034,"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,1036,1037,1049,1057,1066,1072,1111,1116,1127,1131,1135],{"__ignoreMap":230},[234,1038,1039,1041,1043,1045,1047],{"class":236,"line":237},[234,1040,241],{"class":240},[234,1042,244],{"class":240},[234,1044,248],{"class":247},[234,1046,252],{"class":251},[234,1048,256],{"class":255},[234,1050,1051,1053,1055],{"class":236,"line":259},[234,1052,263],{"class":262},[234,1054,266],{"class":255},[234,1056,269],{"class":255},[234,1058,1059,1062,1064],{"class":236,"line":272},[234,1060,1061],{"class":262},"    contentRawMarkdown",[234,1063,266],{"class":255},[234,1065,269],{"class":255},[234,1067,1068],{"class":236,"line":293},[234,1069,1071],{"class":1070},"sHwdD","      \u002F\u002F Prevent specific page collections from being exposed\n",[234,1073,1074,1077,1079,1081,1083,1086,1088,1090,1092,1095,1097,1099,1101,1104,1106,1109],{"class":236,"line":310},[234,1075,1076],{"class":262},"      excludeCollections",[234,1078,266],{"class":255},[234,1080,741],{"class":251},[234,1082,287],{"class":255},[234,1084,1085],{"class":283},"landing",[234,1087,287],{"class":255},[234,1089,533],{"class":255},[234,1091,280],{"class":255},[234,1093,1094],{"class":283},"landing_en",[234,1096,287],{"class":255},[234,1098,533],{"class":255},[234,1100,280],{"class":255},[234,1102,1103],{"class":283},"landing_fr",[234,1105,287],{"class":255},[234,1107,1108],{"class":251},"]",[234,1110,290],{"class":255},[234,1112,1113],{"class":236,"line":327},[234,1114,1115],{"class":1070},"      \u002F\u002F Keep llms.txt links pointing to rendered pages instead of raw markdown\n",[234,1117,1118,1121,1123,1125],{"class":236,"line":337},[234,1119,1120],{"class":262},"      rewriteLLMSTxt",[234,1122,266],{"class":255},[234,1124,946],{"class":945},[234,1126,290],{"class":255},[234,1128,1129],{"class":236,"line":353},[234,1130,372],{"class":255},[234,1132,1133],{"class":236,"line":369},[234,1134,378],{"class":255},[234,1136,1137,1139],{"class":236,"line":375},[234,1138,384],{"class":255},[234,1140,387],{"class":251},[134,1142,1143],{},"To disable raw markdown access entirely:",[225,1145,1147],{"className":227,"code":1146,"filename":222,"language":229,"meta":230,"style":230},"export default defineNuxtConfig({\n  llms: {\n    contentRawMarkdown: false,\n  },\n})\n",[138,1148,1149,1161,1169,1179,1183],{"__ignoreMap":230},[234,1150,1151,1153,1155,1157,1159],{"class":236,"line":237},[234,1152,241],{"class":240},[234,1154,244],{"class":240},[234,1156,248],{"class":247},[234,1158,252],{"class":251},[234,1160,256],{"class":255},[234,1162,1163,1165,1167],{"class":236,"line":259},[234,1164,263],{"class":262},[234,1166,266],{"class":255},[234,1168,269],{"class":255},[234,1170,1171,1173,1175,1177],{"class":236,"line":272},[234,1172,1061],{"class":262},[234,1174,266],{"class":255},[234,1176,946],{"class":945},[234,1178,290],{"class":255},[234,1180,1181],{"class":236,"line":293},[234,1182,378],{"class":255},[234,1184,1185,1187],{"class":236,"line":310},[234,1186,384],{"class":255},[234,1188,387],{"class":251},[159,1190,1192],{"id":1191},"markdown-redirection","Markdown Redirection",[151,1194,1195],{},"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,1197,1198],{},"When deployed on Vercel, Docus automatically configures intelligent routing to serve markdown content to AI agents and CLI tools.",[389,1200,1202],{"id":1201},"why","Why?",[134,1204,1205,1206,1208],{},"Agents like Claude Code use ",[138,1207,677],{}," headers by default, retuning raw Markdown is saving lots of data transfer and tokens in the process.",[389,1210,1212],{"id":1211},"how","How?",[134,1214,1215],{},"Docus detects requests from AI agents and command-line tools using HTTP headers:",[170,1217,1218,1227],{},[173,1219,1220,1223,1224,1226],{},[861,1221,1222],{},"Accept header",": Requests with ",[138,1225,677],{}," are automatically redirected",[173,1228,1229,980,1232,1234],{},[861,1230,1231],{},"User-agent detection",[138,1233,668],{}," requests as agents are automatically redirected",[389,1236,1238],{"id":1237},"redirect-rules","Redirect Rules",[170,1240,1241,1251],{},[173,1242,1243,980,1246,1248,1249],{},[861,1244,1245],{},"Root path",[138,1247,817],{}," → ",[138,1250,144],{},[173,1252,1253,980,1256,1248,1259],{},[861,1254,1255],{},"Documentation pages",[138,1257,1258],{},"\u002F{path}",[138,1260,1261],{},"\u002Fraw\u002F{path}.md",[389,1263,1265],{"id":1264},"example-usage","Example Usage",[225,1267,1269],{"className":658,"code":1268,"language":660,"meta":230,"style":230},"# 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",[138,1270,1271,1276,1291,1295,1300,1315,1319,1324],{"__ignoreMap":230},[234,1272,1273],{"class":236,"line":237},[234,1274,1275],{"class":1070},"# Get llms.txt from homepage\n",[234,1277,1278,1280,1282,1284,1286,1288],{"class":236,"line":259},[234,1279,668],{"class":667},[234,1281,671],{"class":283},[234,1283,674],{"class":255},[234,1285,677],{"class":283},[234,1287,680],{"class":255},[234,1289,1290],{"class":283}," https:\u002F\u002Fdocus.dev\u002F\n",[234,1292,1293],{"class":236,"line":272},[234,1294,704],{"emptyLinePlaceholder":703},[234,1296,1297],{"class":236,"line":293},[234,1298,1299],{"class":1070},"# Get llms.txt from locale homepage\n",[234,1301,1302,1304,1306,1308,1310,1312],{"class":236,"line":310},[234,1303,668],{"class":667},[234,1305,671],{"class":283},[234,1307,674],{"class":255},[234,1309,677],{"class":283},[234,1311,680],{"class":255},[234,1313,1314],{"class":283}," https:\u002F\u002Fdocus.dev\u002Fen\n",[234,1316,1317],{"class":236,"line":327},[234,1318,704],{"emptyLinePlaceholder":703},[234,1320,1321],{"class":236,"line":337},[234,1322,1323],{"class":1070},"# Get raw markdown for a documentation page\n",[234,1325,1326,1328,1330,1332,1334,1336],{"class":236,"line":353},[234,1327,668],{"class":667},[234,1329,671],{"class":283},[234,1331,674],{"class":255},[234,1333,677],{"class":283},[234,1335,680],{"class":255},[234,1337,1338],{"class":283}," https:\u002F\u002Fdocus.dev\u002Fen\u002Fai\u002Fllms\n",[134,1340,1341],{},"All these commands will return markdown content instead of HTML.",[389,1343,1345],{"id":1344},"caching","Caching",[134,1347,1348,1349,1352],{},"The same URL answers in HTML or markdown depending on the request, so every response carries ",[138,1350,1351],{},"Vary: Accept, User-Agent",". Without it a CDN could serve the HTML variant to an agent asking for markdown, or the reverse, depending on which one landed in the cache first.",[225,1354,1356],{"className":658,"code":1355,"language":660,"meta":230,"style":230},"curl -sI -H \"Accept: text\u002Fmarkdown\" https:\u002F\u002Fdocus.dev\u002Fen\u002Fai\u002Fllms | grep -i vary\n# vary: Accept, User-Agent\n",[138,1357,1358,1388],{"__ignoreMap":230},[234,1359,1360,1362,1365,1367,1369,1371,1373,1376,1379,1382,1385],{"class":236,"line":237},[234,1361,668],{"class":667},[234,1363,1364],{"class":283}," -sI",[234,1366,671],{"class":283},[234,1368,674],{"class":255},[234,1370,677],{"class":283},[234,1372,680],{"class":255},[234,1374,1375],{"class":283}," https:\u002F\u002Fdocus.dev\u002Fen\u002Fai\u002Fllms",[234,1377,1378],{"class":255}," |",[234,1380,1381],{"class":667}," grep",[234,1383,1384],{"class":283}," -i",[234,1386,1387],{"class":283}," vary\n",[234,1389,1390],{"class":236,"line":259},[234,1391,1392],{"class":1070},"# vary: Accept, User-Agent\n",[1394,1395,1397],"tip",{"to":1396},"https:\u002F\u002Fgithub.com\u002Fnuxt-content\u002Fnuxt-llms","Checkout the nuxt-llms documentation for more information about the module.",[1399,1400,1401],"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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sDpXG, html code.shiki .sDpXG{--shiki-light:#E53935;--shiki-light-text-decoration:underline;--shiki-default:#F07178;--shiki-default-text-decoration:underline;--shiki-dark:#F07178;--shiki-dark-text-decoration:underline}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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}",{"title":230,"searchDepth":259,"depth":259,"links":1403},[1404,1405,1408,1409,1413],{"id":161,"depth":259,"text":162},{"id":215,"depth":259,"text":216,"children":1406},[1407],{"id":391,"depth":272,"text":392},{"id":651,"depth":259,"text":652},{"id":961,"depth":259,"text":962,"children":1410},[1411,1412],{"id":971,"depth":272,"text":972},{"id":1026,"depth":272,"text":53},{"id":1191,"depth":259,"text":1192,"children":1414},[1415,1416,1417,1418,1419],{"id":1201,"depth":272,"text":1202},{"id":1211,"depth":272,"text":1212},{"id":1237,"depth":272,"text":1238},{"id":1264,"depth":272,"text":1265},{"id":1344,"depth":272,"text":1345},"Docus generate AI-ready content files using Nuxt LLMs module",null,{},{"icon":127},{"title":124,"description":1420},"5nSvGQsj-pI6_gip-CFQ_iFeC_SZgjSmfo-1O6q8SkU",[1427,1421],{"title":119,"path":120,"stem":121,"description":1428,"icon":122,"children":-1},"Publish agent skills from your documentation site so AI tools can discover and install them automatically.",1787756272729]