[{"data":1,"prerenderedAt":1524},["ShallowReactive",2],{"navigation_docs":3,"-docs-collections-sources":209,"-docs-collections-sources-surround":1519},[4,24,51,73,99,116,162,175],{"title":5,"path":6,"stem":7,"children":8,"icon":23},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[9,11,15,19],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation",{"title":16,"path":17,"stem":18},"Configuration","\u002Fdocs\u002Fgetting-started\u002Fconfiguration","docs\u002F1.getting-started\u002F3.configuration",{"title":20,"path":21,"stem":22},"Migration","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F4.migration","i-lucide-square-play",{"title":25,"icon":26,"path":27,"stem":28,"children":29,"page":50},"Collections","i-lucide-database","\u002Fdocs\u002Fcollections","docs\u002F2.collections",[30,34,38,42,46],{"title":31,"path":32,"stem":33},"Define","\u002Fdocs\u002Fcollections\u002Fdefine","docs\u002F2.collections\u002F1.define",{"title":35,"path":36,"stem":37},"Types","\u002Fdocs\u002Fcollections\u002Ftypes","docs\u002F2.collections\u002F2.types",{"title":39,"path":40,"stem":41},"Sources","\u002Fdocs\u002Fcollections\u002Fsources","docs\u002F2.collections\u002F3.sources",{"title":43,"path":44,"stem":45},"Validators","\u002Fdocs\u002Fcollections\u002Fvalidators","docs\u002F2.collections\u002F4.validators",{"title":47,"path":48,"stem":49},"Components","\u002Fdocs\u002Fcollections\u002Finherit-schema-from-component","docs\u002F2.collections\u002F5.inherit-schema-from-component",false,{"title":52,"icon":53,"path":54,"stem":55,"children":56,"page":50},"Files","i-lucide-file","\u002Fdocs\u002Ffiles","docs\u002F3.files",[57,61,65,69],{"title":58,"path":59,"stem":60},"Markdown","\u002Fdocs\u002Ffiles\u002Fmarkdown","docs\u002F3.files\u002F1.markdown",{"title":62,"path":63,"stem":64},"YAML","\u002Fdocs\u002Ffiles\u002Fyaml","docs\u002F3.files\u002F2.yaml",{"title":66,"path":67,"stem":68},"JSON","\u002Fdocs\u002Ffiles\u002Fjson","docs\u002F3.files\u002F3.json",{"title":70,"path":71,"stem":72},"CSV","\u002Fdocs\u002Ffiles\u002Fcsv","docs\u002F3.files\u002F4.csv",{"title":74,"icon":75,"path":76,"stem":77,"children":78,"page":50},"Query Utils","i-lucide-square-function","\u002Fdocs\u002Futils","docs\u002F4.utils",[79,83,87,91,95],{"title":80,"path":81,"stem":82},"queryCollection","\u002Fdocs\u002Futils\u002Fquery-collection","docs\u002F4.utils\u002F1.query-collection",{"title":84,"path":85,"stem":86},"queryCollectionNavigation","\u002Fdocs\u002Futils\u002Fquery-collection-navigation","docs\u002F4.utils\u002F2.query-collection-navigation",{"title":88,"path":89,"stem":90},"queryCollectionItemSurroundings","\u002Fdocs\u002Futils\u002Fquery-collection-item-surroundings","docs\u002F4.utils\u002F3.query-collection-item-surroundings",{"title":92,"path":93,"stem":94},"queryCollectionSearchSections","\u002Fdocs\u002Futils\u002Fquery-collection-search-sections","docs\u002F4.utils\u002F4.query-collection-search-sections",{"title":96,"path":97,"stem":98},"useSearchCollection","\u002Fdocs\u002Futils\u002Fuse-search-collection","docs\u002F4.utils\u002F5.use-search-collection",{"title":47,"icon":100,"path":101,"stem":102,"children":103,"page":50},"i-lucide-square-code","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[104,108,112],{"title":105,"path":106,"stem":107},"ContentRenderer","\u002Fdocs\u002Fcomponents\u002Fcontent-renderer","docs\u002F5.components\u002F0.content-renderer",{"title":109,"path":110,"stem":111},"Slot","\u002Fdocs\u002Fcomponents\u002Fslot","docs\u002F5.components\u002F1.slot",{"title":113,"path":114,"stem":115},"Prose Components","\u002Fdocs\u002Fcomponents\u002Fprose","docs\u002F5.components\u002F2.prose",{"title":117,"icon":118,"path":119,"stem":120,"children":121,"page":50},"Deploy","i-lucide-cloud-upload","\u002Fdocs\u002Fdeploy","docs\u002F6.deploy",[122,126,130,134,138,142,146,150,154,158],{"title":123,"path":124,"stem":125},"Server","\u002Fdocs\u002Fdeploy\u002Fserver","docs\u002F6.deploy\u002F1.server",{"title":127,"path":128,"stem":129},"Static","\u002Fdocs\u002Fdeploy\u002Fstatic","docs\u002F6.deploy\u002F10.static",{"title":131,"path":132,"stem":133},"Serverless","\u002Fdocs\u002Fdeploy\u002Fserverless","docs\u002F6.deploy\u002F2.serverless",{"title":135,"path":136,"stem":137},"NuxtHub","\u002Fdocs\u002Fdeploy\u002Fnuxthub","docs\u002F6.deploy\u002F3.nuxthub",{"title":139,"path":140,"stem":141},"Cloudflare Pages","\u002Fdocs\u002Fdeploy\u002Fcloudflare-pages","docs\u002F6.deploy\u002F4.cloudflare-pages",{"title":143,"path":144,"stem":145},"Cloudflare Workers","\u002Fdocs\u002Fdeploy\u002Fcloudflare-workers","docs\u002F6.deploy\u002F5.cloudflare-workers",{"title":147,"path":148,"stem":149},"Vercel","\u002Fdocs\u002Fdeploy\u002Fvercel","docs\u002F6.deploy\u002F6.vercel",{"title":151,"path":152,"stem":153},"Netlify","\u002Fdocs\u002Fdeploy\u002Fnetlify","docs\u002F6.deploy\u002F7.netlify",{"title":155,"path":156,"stem":157},"AWS Amplify","\u002Fdocs\u002Fdeploy\u002Faws-amplify","docs\u002F6.deploy\u002F8.aws-amplify",{"title":159,"path":160,"stem":161},"Docker","\u002Fdocs\u002Fdeploy\u002Fdocker","docs\u002F6.deploy\u002F9.docker",{"title":163,"icon":118,"path":164,"stem":165,"children":166,"page":50},"Integrations","\u002Fdocs\u002Fintegrations","docs\u002F7.integrations",[167,171],{"title":168,"path":169,"stem":170},"Nuxt i18n","\u002Fdocs\u002Fintegrations\u002Fi18n","docs\u002F7.integrations\u002F01.i18n",{"title":172,"path":173,"stem":174},"Nuxt LLMs","\u002Fdocs\u002Fintegrations\u002Fllms","docs\u002F7.integrations\u002F02.llms",{"title":176,"icon":177,"path":178,"stem":179,"children":180,"page":50},"Advanced","i-lucide-code-xml","\u002Fdocs\u002Fadvanced","docs\u002F8.advanced",[181,185,189,193,197,201,205],{"title":182,"path":183,"stem":184},"Full-Text Search","\u002Fdocs\u002Fadvanced\u002Ffulltext-search","docs\u002F8.advanced\u002F1.fulltext-search",{"title":186,"path":187,"stem":188},"Raw Content","\u002Fdocs\u002Fadvanced\u002Fraw-content","docs\u002F8.advanced\u002F2.raw-content",{"title":190,"path":191,"stem":192},"SQL Storage","\u002Fdocs\u002Fadvanced\u002Fdatabase","docs\u002F8.advanced\u002F3.database",{"title":194,"path":195,"stem":196},"Debugging tools","\u002Fdocs\u002Fadvanced\u002Ftools","docs\u002F8.advanced\u002F4.tools",{"title":198,"path":199,"stem":200},"Hooks","\u002Fdocs\u002Fadvanced\u002Fhooks","docs\u002F8.advanced\u002F5.hooks",{"title":202,"path":203,"stem":204},"Custom Source","\u002Fdocs\u002Fadvanced\u002Fcustom-source","docs\u002F8.advanced\u002F6.custom-source",{"title":206,"path":207,"stem":208},"Transformers","\u002Fdocs\u002Fadvanced\u002Ftransformers","docs\u002F8.advanced\u002F8.transformers",{"id":210,"title":211,"body":212,"description":1512,"extension":1513,"links":1514,"meta":1515,"navigation":1516,"path":40,"seo":1517,"stem":41,"__hash__":1518},"docs\u002Fdocs\u002F2.collections\u002F3.sources.md","Collection Sources",{"type":213,"value":214,"toc":1502},"minimark",[215,228,385,390,396,402,456,464,467,472,475,480,486,489,499,524,624,629,632,636,642,706,711,721,730,872,883,886,901,1065,1069,1078,1237,1242,1245,1250,1254,1257,1378,1382,1385,1498],[216,217,218,219,223,224,227],"p",{},"Nuxt Content provides several ways to import content files into your collection. You can configure the source by using the ",[220,221,222],"code",{},"source"," property within ",[220,225,226],{},"defineCollection",":",[229,230,236],"pre",{"className":231,"code":232,"filename":233,"language":234,"meta":235,"style":235},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { defineCollection, defineContentConfig } from '@nuxt\u002Fcontent'\n\nexport default defineContentConfig({\n  collections: {\n    docs: defineCollection({\n      source: '**',\n      type: 'page'\n    })\n  }\n})\n","content.config.ts","ts","",[220,237,238,277,284,302,314,328,347,362,371,377],{"__ignoreMap":235},[239,240,243,247,251,255,258,261,264,267,270,274],"span",{"class":241,"line":242},"line",1,[239,244,246],{"class":245},"s7zQu","import",[239,248,250],{"class":249},"sMK4o"," {",[239,252,254],{"class":253},"sTEyZ"," defineCollection",[239,256,257],{"class":249},",",[239,259,260],{"class":253}," defineContentConfig",[239,262,263],{"class":249}," }",[239,265,266],{"class":245}," from",[239,268,269],{"class":249}," '",[239,271,273],{"class":272},"sfazB","@nuxt\u002Fcontent",[239,275,276],{"class":249},"'\n",[239,278,280],{"class":241,"line":279},2,[239,281,283],{"emptyLinePlaceholder":282},true,"\n",[239,285,287,290,293,296,299],{"class":241,"line":286},3,[239,288,289],{"class":245},"export",[239,291,292],{"class":245}," default",[239,294,260],{"class":295},"s2Zo4",[239,297,298],{"class":253},"(",[239,300,301],{"class":249},"{\n",[239,303,305,309,311],{"class":241,"line":304},4,[239,306,308],{"class":307},"swJcz","  collections",[239,310,227],{"class":249},[239,312,313],{"class":249}," {\n",[239,315,317,320,322,324,326],{"class":241,"line":316},5,[239,318,319],{"class":307},"    docs",[239,321,227],{"class":249},[239,323,254],{"class":295},[239,325,298],{"class":253},[239,327,301],{"class":249},[239,329,331,334,336,338,341,344],{"class":241,"line":330},6,[239,332,333],{"class":307},"      source",[239,335,227],{"class":249},[239,337,269],{"class":249},[239,339,340],{"class":272},"**",[239,342,343],{"class":249},"'",[239,345,346],{"class":249},",\n",[239,348,350,353,355,357,360],{"class":241,"line":349},7,[239,351,352],{"class":307},"      type",[239,354,227],{"class":249},[239,356,269],{"class":249},[239,358,359],{"class":272},"page",[239,361,276],{"class":249},[239,363,365,368],{"class":241,"line":364},8,[239,366,367],{"class":249},"    }",[239,369,370],{"class":253},")\n",[239,372,374],{"class":241,"line":373},9,[239,375,376],{"class":249},"  }\n",[239,378,380,383],{"class":241,"line":379},10,[239,381,382],{"class":249},"}",[239,384,370],{"class":253},[386,387,388],"h2",{"id":222},[220,389,222],{},[216,391,392,393,395],{},"The ",[220,394,222],{}," property can be defined as either a string (following a glob pattern) or an object, allowing more detailed source configuration for your target directory and files within the content folder.",[216,397,398],{},[399,400,401],"strong",{},"Example:",[403,404,405,412,421,435,447],"ul",{},[406,407,408,411],"li",{},[220,409,410],{},"source: '**'"," includes all files within the content directory and its subdirectories.",[406,413,414,417,418,420],{},[220,415,416],{},"source: '**\u002F*.md'","includes all ",[220,419,58],{}," files within the content directory and its subdirectories.",[406,422,423,426,427,430,431,434],{},[220,424,425],{},"source: 'docs\u002F**\u002F*.yml'"," includes all ",[220,428,429],{},"YML"," files within the ",[220,432,433],{},"content\u002Fdocs"," and its subdirectories.",[406,436,437,440,441,443,444,446],{},[220,438,439],{},"source: '**\u002F*.{json,yml}'"," includes ",[220,442,66],{}," or ",[220,445,429],{}," file within the content directory and all its subdirectories.",[406,448,449,452,453,455],{},[220,450,451],{},"source: '*.json'"," includes only ",[220,454,66],{}," files located directly within the content directory, excluding any subdirectories.",[457,458,460,463],"h3",{"id":459},"include-required",[220,461,462],{},"include"," (required)",[216,465,466],{},"Glob pattern of your target repository and files in the content folder.",[457,468,470],{"id":469},"exclude",[220,471,469],{},[216,473,474],{},"Glob patterns to exclude content from the import.",[457,476,478],{"id":477},"prefix",[220,479,477],{},[216,481,482,483,485],{},"This configuration only applied for ",[399,484,359],{}," type with 1-to-1 relationship between content files and pages on your site.",[216,487,488],{},"It represents the path prefix (base URL) of the corresponding page on the website.",[490,491,392,492,494,495,498],"prose-warning",{},[220,493,477],{}," must start by a leading ",[220,496,497],{},"\u002F",".",[216,500,501,502,504,505,508,509,512,513,515,516,519,520,523],{},"By default, module extracts the static prefix of ",[220,503,222],{},"(or ",[220,506,507],{},"source.include",") and uses it as a prefix for content paths. For example, if you define ",[220,510,511],{},"\u002Fen\u002F**"," source, module will auto-fill the ",[220,514,477],{}," with ",[220,517,518],{},"\u002Fen",". You can manually provide a prefix to override this behavior. The prefix can be removed by setting ",[220,521,522],{},"prefix: '\u002F'"," in the collection source.",[229,525,527],{"className":231,"code":526,"language":234,"meta":235,"style":235},"defineCollection({\n  type: \"page\",\n  source: {\n    include: \"en\u002F**\",\n    exclude: [\"en\u002Findex.md\"],\n    prefix: '\u002F'\n  }\n})\n",[220,528,529,537,554,563,579,601,614,618],{"__ignoreMap":235},[239,530,531,533,535],{"class":241,"line":242},[239,532,226],{"class":295},[239,534,298],{"class":253},[239,536,301],{"class":249},[239,538,539,542,544,547,549,552],{"class":241,"line":279},[239,540,541],{"class":307},"  type",[239,543,227],{"class":249},[239,545,546],{"class":249}," \"",[239,548,359],{"class":272},[239,550,551],{"class":249},"\"",[239,553,346],{"class":249},[239,555,556,559,561],{"class":241,"line":286},[239,557,558],{"class":307},"  source",[239,560,227],{"class":249},[239,562,313],{"class":249},[239,564,565,568,570,572,575,577],{"class":241,"line":304},[239,566,567],{"class":307},"    include",[239,569,227],{"class":249},[239,571,546],{"class":249},[239,573,574],{"class":272},"en\u002F**",[239,576,551],{"class":249},[239,578,346],{"class":249},[239,580,581,584,586,589,591,594,596,599],{"class":241,"line":316},[239,582,583],{"class":307},"    exclude",[239,585,227],{"class":249},[239,587,588],{"class":253}," [",[239,590,551],{"class":249},[239,592,593],{"class":272},"en\u002Findex.md",[239,595,551],{"class":249},[239,597,598],{"class":253},"]",[239,600,346],{"class":249},[239,602,603,606,608,610,612],{"class":241,"line":330},[239,604,605],{"class":307},"    prefix",[239,607,227],{"class":249},[239,609,269],{"class":249},[239,611,497],{"class":272},[239,613,276],{"class":249},[239,615,616],{"class":241,"line":349},[239,617,376],{"class":249},[239,619,620,622],{"class":241,"line":364},[239,621,382],{"class":249},[239,623,370],{"class":253},[457,625,627],{"id":626},"cwd",[220,628,626],{},[216,630,631],{},"Root directory for content matching.",[216,633,634],{},[399,635,401],{},[216,637,638,639,641],{},"If you want to include files from a folder outside the content directory, set the absolute path of that folder to the ",[220,640,626],{}," property.",[229,643,645],{"className":231,"code":644,"language":234,"meta":235,"style":235},"source: {\n  cwd: path.resolve('packages\u002Fmy-pkg\u002Fdocs'),\n  include: '**\u002F*.md',\n}\n",[220,646,647,656,685,701],{"__ignoreMap":235},[239,648,649,652,654],{"class":241,"line":242},[239,650,222],{"class":651},"sBMFI",[239,653,227],{"class":249},[239,655,313],{"class":249},[239,657,658,661,663,666,668,671,673,675,678,680,683],{"class":241,"line":279},[239,659,660],{"class":651},"  cwd",[239,662,227],{"class":249},[239,664,665],{"class":253}," path",[239,667,498],{"class":249},[239,669,670],{"class":295},"resolve",[239,672,298],{"class":307},[239,674,343],{"class":249},[239,676,677],{"class":272},"packages\u002Fmy-pkg\u002Fdocs",[239,679,343],{"class":249},[239,681,682],{"class":307},")",[239,684,346],{"class":249},[239,686,687,690,692,694,697,699],{"class":241,"line":286},[239,688,689],{"class":651},"  include",[239,691,227],{"class":249},[239,693,269],{"class":249},[239,695,696],{"class":272},"**\u002F*.md",[239,698,343],{"class":249},[239,700,346],{"class":249},[239,702,703],{"class":241,"line":304},[239,704,705],{"class":249},"}\n",[457,707,709],{"id":708},"repository",[220,710,708],{},[216,712,713,714,720],{},"External source representing a remote git repository URL (e.g., ",[715,716,717],"a",{"href":717,"rel":718},"https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fcontent",[719],"nofollow","), or an object containing Git branch \u002F tag information, or optionally authentication",[216,722,723,724,726,727,729],{},"When defining an external source you must also define the ",[220,725,462],{}," option.\n",[220,728,462],{}," pattern is essential for the module to know which files to use for the collection.",[229,731,735],{"className":732,"code":733,"language":734,"meta":235,"style":235},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { defineCollection, defineContentConfig } from '@nuxt\u002Fcontent'\n\nexport default defineContentConfig({\n  collections: {\n    docs: defineCollection({\n      type: 'page',\n      source: {\n        repository: 'https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fcontent',\n        include: 'docs\u002Fcontent\u002F**',\n      },\n    })\n  }\n})\n","js",[220,736,737,759,763,775,783,795,809,817,832,848,853,860,865],{"__ignoreMap":235},[239,738,739,741,743,745,747,749,751,753,755,757],{"class":241,"line":242},[239,740,246],{"class":245},[239,742,250],{"class":249},[239,744,254],{"class":253},[239,746,257],{"class":249},[239,748,260],{"class":253},[239,750,263],{"class":249},[239,752,266],{"class":245},[239,754,269],{"class":249},[239,756,273],{"class":272},[239,758,276],{"class":249},[239,760,761],{"class":241,"line":279},[239,762,283],{"emptyLinePlaceholder":282},[239,764,765,767,769,771,773],{"class":241,"line":286},[239,766,289],{"class":245},[239,768,292],{"class":245},[239,770,260],{"class":295},[239,772,298],{"class":253},[239,774,301],{"class":249},[239,776,777,779,781],{"class":241,"line":304},[239,778,308],{"class":307},[239,780,227],{"class":249},[239,782,313],{"class":249},[239,784,785,787,789,791,793],{"class":241,"line":316},[239,786,319],{"class":307},[239,788,227],{"class":249},[239,790,254],{"class":295},[239,792,298],{"class":253},[239,794,301],{"class":249},[239,796,797,799,801,803,805,807],{"class":241,"line":330},[239,798,352],{"class":307},[239,800,227],{"class":249},[239,802,269],{"class":249},[239,804,359],{"class":272},[239,806,343],{"class":249},[239,808,346],{"class":249},[239,810,811,813,815],{"class":241,"line":349},[239,812,333],{"class":307},[239,814,227],{"class":249},[239,816,313],{"class":249},[239,818,819,822,824,826,828,830],{"class":241,"line":364},[239,820,821],{"class":307},"        repository",[239,823,227],{"class":249},[239,825,269],{"class":249},[239,827,717],{"class":272},[239,829,343],{"class":249},[239,831,346],{"class":249},[239,833,834,837,839,841,844,846],{"class":241,"line":373},[239,835,836],{"class":307},"        include",[239,838,227],{"class":249},[239,840,269],{"class":249},[239,842,843],{"class":272},"docs\u002Fcontent\u002F**",[239,845,343],{"class":249},[239,847,346],{"class":249},[239,849,850],{"class":241,"line":379},[239,851,852],{"class":249},"      },\n",[239,854,856,858],{"class":241,"line":855},11,[239,857,367],{"class":249},[239,859,370],{"class":253},[239,861,863],{"class":241,"line":862},12,[239,864,376],{"class":249},[239,866,868,870],{"class":241,"line":867},13,[239,869,382],{"class":249},[239,871,370],{"class":253},[873,874,876,879,880],"h4",{"id":875},"branch-tag",[220,877,878],{},"branch"," \u002F ",[220,881,882],{},"tag",[216,884,885],{},"This option allows for cloning a Git repository by its tag or branch.",[216,887,888,890,891,893,894,897,898,900],{},[399,889,401],{},"\nIf you want to clone by a tag, make the ",[220,892,708],{}," attribute an object, with the ",[220,895,896],{},"url"," of your repository, and set the ",[220,899,882],{}," attribute.",[229,902,904],{"className":732,"code":903,"language":734,"meta":235,"style":235},"import { defineCollection, defineContentConfig } from '@nuxt\u002Fcontent'\n\nexport default defineContentConfig({\n  collections: {\n    docs: defineCollection({\n      type: 'page',\n      source: {\n        repository: {\n          url: 'https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fcontent',\n          tag: 'v1'\n        },\n        include: 'docs\u002Fcontent\u002F**',\n      },\n    })\n  }\n})\n",[220,905,906,928,932,944,952,964,978,986,994,1009,1023,1028,1042,1046,1053,1058],{"__ignoreMap":235},[239,907,908,910,912,914,916,918,920,922,924,926],{"class":241,"line":242},[239,909,246],{"class":245},[239,911,250],{"class":249},[239,913,254],{"class":253},[239,915,257],{"class":249},[239,917,260],{"class":253},[239,919,263],{"class":249},[239,921,266],{"class":245},[239,923,269],{"class":249},[239,925,273],{"class":272},[239,927,276],{"class":249},[239,929,930],{"class":241,"line":279},[239,931,283],{"emptyLinePlaceholder":282},[239,933,934,936,938,940,942],{"class":241,"line":286},[239,935,289],{"class":245},[239,937,292],{"class":245},[239,939,260],{"class":295},[239,941,298],{"class":253},[239,943,301],{"class":249},[239,945,946,948,950],{"class":241,"line":304},[239,947,308],{"class":307},[239,949,227],{"class":249},[239,951,313],{"class":249},[239,953,954,956,958,960,962],{"class":241,"line":316},[239,955,319],{"class":307},[239,957,227],{"class":249},[239,959,254],{"class":295},[239,961,298],{"class":253},[239,963,301],{"class":249},[239,965,966,968,970,972,974,976],{"class":241,"line":330},[239,967,352],{"class":307},[239,969,227],{"class":249},[239,971,269],{"class":249},[239,973,359],{"class":272},[239,975,343],{"class":249},[239,977,346],{"class":249},[239,979,980,982,984],{"class":241,"line":349},[239,981,333],{"class":307},[239,983,227],{"class":249},[239,985,313],{"class":249},[239,987,988,990,992],{"class":241,"line":364},[239,989,821],{"class":307},[239,991,227],{"class":249},[239,993,313],{"class":249},[239,995,996,999,1001,1003,1005,1007],{"class":241,"line":373},[239,997,998],{"class":307},"          url",[239,1000,227],{"class":249},[239,1002,269],{"class":249},[239,1004,717],{"class":272},[239,1006,343],{"class":249},[239,1008,346],{"class":249},[239,1010,1011,1014,1016,1018,1021],{"class":241,"line":379},[239,1012,1013],{"class":307},"          tag",[239,1015,227],{"class":249},[239,1017,269],{"class":249},[239,1019,1020],{"class":272},"v1",[239,1022,276],{"class":249},[239,1024,1025],{"class":241,"line":855},[239,1026,1027],{"class":249},"        },\n",[239,1029,1030,1032,1034,1036,1038,1040],{"class":241,"line":862},[239,1031,836],{"class":307},[239,1033,227],{"class":249},[239,1035,269],{"class":249},[239,1037,843],{"class":272},[239,1039,343],{"class":249},[239,1041,346],{"class":249},[239,1043,1044],{"class":241,"line":867},[239,1045,852],{"class":249},[239,1047,1049,1051],{"class":241,"line":1048},14,[239,1050,367],{"class":249},[239,1052,370],{"class":253},[239,1054,1056],{"class":241,"line":1055},15,[239,1057,376],{"class":249},[239,1059,1061,1063],{"class":241,"line":1060},16,[239,1062,382],{"class":249},[239,1064,370],{"class":253},[216,1066,1067],{},[399,1068,401],{},[216,1070,1071,1072,893,1074,897,1076,900],{},"If you want to clone by a remote branch, make the ",[220,1073,708],{},[220,1075,896],{},[220,1077,878],{},[229,1079,1081],{"className":732,"code":1080,"language":734,"meta":235,"style":235},"import { defineCollection, defineContentConfig } from '@nuxt\u002Fcontent'\n\nexport default defineContentConfig({\n  collections: {\n    docs: defineCollection({\n      type: 'page',\n      source: {\n        repository: {\n          url: 'https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fcontent',\n          branch: 'dev'\n        },\n        include: 'docs\u002Fcontent\u002F**',\n      },\n    })\n  }\n})\n",[220,1082,1083,1105,1109,1121,1129,1141,1155,1163,1171,1185,1199,1203,1217,1221,1227,1231],{"__ignoreMap":235},[239,1084,1085,1087,1089,1091,1093,1095,1097,1099,1101,1103],{"class":241,"line":242},[239,1086,246],{"class":245},[239,1088,250],{"class":249},[239,1090,254],{"class":253},[239,1092,257],{"class":249},[239,1094,260],{"class":253},[239,1096,263],{"class":249},[239,1098,266],{"class":245},[239,1100,269],{"class":249},[239,1102,273],{"class":272},[239,1104,276],{"class":249},[239,1106,1107],{"class":241,"line":279},[239,1108,283],{"emptyLinePlaceholder":282},[239,1110,1111,1113,1115,1117,1119],{"class":241,"line":286},[239,1112,289],{"class":245},[239,1114,292],{"class":245},[239,1116,260],{"class":295},[239,1118,298],{"class":253},[239,1120,301],{"class":249},[239,1122,1123,1125,1127],{"class":241,"line":304},[239,1124,308],{"class":307},[239,1126,227],{"class":249},[239,1128,313],{"class":249},[239,1130,1131,1133,1135,1137,1139],{"class":241,"line":316},[239,1132,319],{"class":307},[239,1134,227],{"class":249},[239,1136,254],{"class":295},[239,1138,298],{"class":253},[239,1140,301],{"class":249},[239,1142,1143,1145,1147,1149,1151,1153],{"class":241,"line":330},[239,1144,352],{"class":307},[239,1146,227],{"class":249},[239,1148,269],{"class":249},[239,1150,359],{"class":272},[239,1152,343],{"class":249},[239,1154,346],{"class":249},[239,1156,1157,1159,1161],{"class":241,"line":349},[239,1158,333],{"class":307},[239,1160,227],{"class":249},[239,1162,313],{"class":249},[239,1164,1165,1167,1169],{"class":241,"line":364},[239,1166,821],{"class":307},[239,1168,227],{"class":249},[239,1170,313],{"class":249},[239,1172,1173,1175,1177,1179,1181,1183],{"class":241,"line":373},[239,1174,998],{"class":307},[239,1176,227],{"class":249},[239,1178,269],{"class":249},[239,1180,717],{"class":272},[239,1182,343],{"class":249},[239,1184,346],{"class":249},[239,1186,1187,1190,1192,1194,1197],{"class":241,"line":379},[239,1188,1189],{"class":307},"          branch",[239,1191,227],{"class":249},[239,1193,269],{"class":249},[239,1195,1196],{"class":272},"dev",[239,1198,276],{"class":249},[239,1200,1201],{"class":241,"line":855},[239,1202,1027],{"class":249},[239,1204,1205,1207,1209,1211,1213,1215],{"class":241,"line":862},[239,1206,836],{"class":307},[239,1208,227],{"class":249},[239,1210,269],{"class":249},[239,1212,843],{"class":272},[239,1214,343],{"class":249},[239,1216,346],{"class":249},[239,1218,1219],{"class":241,"line":867},[239,1220,852],{"class":249},[239,1222,1223,1225],{"class":241,"line":1048},[239,1224,367],{"class":249},[239,1226,370],{"class":253},[239,1228,1229],{"class":241,"line":1055},[239,1230,376],{"class":249},[239,1232,1233,1235],{"class":241,"line":1060},[239,1234,382],{"class":249},[239,1236,370],{"class":253},[873,1238,1240],{"id":1239},"auth",[220,1241,1239],{},[216,1243,1244],{},"This option allows for basic and token-based authentication for Git repositories.",[1246,1247,1249],"warning",{"icon":1248},"i-lucide-shield-alert","Never commit authentication tokens or credentials directly in your code. Use environment variables or other secure methods to provide these values at runtime.",[216,1251,1252],{},[399,1253,401],{},[216,1255,1256],{},"If you want to use basic authentication (e.g. for BitBucket repositories), you can use:",[229,1258,1260],{"className":231,"code":1259,"language":234,"meta":235,"style":235},"defineCollection({\n  type: 'page',\n  source: {\n    repository: {\n      url: 'https:\u002F\u002Fbitbucket.org\u002Fusername\u002Frepo',\n      auth: {\n        username: 'username',\n        password: 'password',\n      },\n    },\n  },\n})\n",[220,1261,1262,1270,1284,1292,1301,1317,1326,1342,1358,1362,1367,1372],{"__ignoreMap":235},[239,1263,1264,1266,1268],{"class":241,"line":242},[239,1265,226],{"class":295},[239,1267,298],{"class":253},[239,1269,301],{"class":249},[239,1271,1272,1274,1276,1278,1280,1282],{"class":241,"line":279},[239,1273,541],{"class":307},[239,1275,227],{"class":249},[239,1277,269],{"class":249},[239,1279,359],{"class":272},[239,1281,343],{"class":249},[239,1283,346],{"class":249},[239,1285,1286,1288,1290],{"class":241,"line":286},[239,1287,558],{"class":307},[239,1289,227],{"class":249},[239,1291,313],{"class":249},[239,1293,1294,1297,1299],{"class":241,"line":304},[239,1295,1296],{"class":307},"    repository",[239,1298,227],{"class":249},[239,1300,313],{"class":249},[239,1302,1303,1306,1308,1310,1313,1315],{"class":241,"line":316},[239,1304,1305],{"class":307},"      url",[239,1307,227],{"class":249},[239,1309,269],{"class":249},[239,1311,1312],{"class":272},"https:\u002F\u002Fbitbucket.org\u002Fusername\u002Frepo",[239,1314,343],{"class":249},[239,1316,346],{"class":249},[239,1318,1319,1322,1324],{"class":241,"line":330},[239,1320,1321],{"class":307},"      auth",[239,1323,227],{"class":249},[239,1325,313],{"class":249},[239,1327,1328,1331,1333,1335,1338,1340],{"class":241,"line":349},[239,1329,1330],{"class":307},"        username",[239,1332,227],{"class":249},[239,1334,269],{"class":249},[239,1336,1337],{"class":272},"username",[239,1339,343],{"class":249},[239,1341,346],{"class":249},[239,1343,1344,1347,1349,1351,1354,1356],{"class":241,"line":364},[239,1345,1346],{"class":307},"        password",[239,1348,227],{"class":249},[239,1350,269],{"class":249},[239,1352,1353],{"class":272},"password",[239,1355,343],{"class":249},[239,1357,346],{"class":249},[239,1359,1360],{"class":241,"line":373},[239,1361,852],{"class":249},[239,1363,1364],{"class":241,"line":379},[239,1365,1366],{"class":249},"    },\n",[239,1368,1369],{"class":241,"line":855},[239,1370,1371],{"class":249},"  },\n",[239,1373,1374,1376],{"class":241,"line":862},[239,1375,382],{"class":249},[239,1377,370],{"class":253},[216,1379,1380],{},[399,1381,401],{},[216,1383,1384],{},"If you need to use authentication tokens (e.g. for Github, Gitlab, some Forgejo providers), you can do the following:",[229,1386,1388],{"className":231,"code":1387,"language":234,"meta":235,"style":235},"defineCollection({\n  type: 'page',\n  source: {\n    repository: {\n      url: 'https:\u002F\u002Fgithub.com\u002Fusername\u002Frepo',\n      auth: {\n        username: 'username',\n        token: 'password',\n      },\n    },\n  },\n})\n",[220,1389,1390,1398,1412,1420,1428,1443,1451,1465,1480,1484,1488,1492],{"__ignoreMap":235},[239,1391,1392,1394,1396],{"class":241,"line":242},[239,1393,226],{"class":295},[239,1395,298],{"class":253},[239,1397,301],{"class":249},[239,1399,1400,1402,1404,1406,1408,1410],{"class":241,"line":279},[239,1401,541],{"class":307},[239,1403,227],{"class":249},[239,1405,269],{"class":249},[239,1407,359],{"class":272},[239,1409,343],{"class":249},[239,1411,346],{"class":249},[239,1413,1414,1416,1418],{"class":241,"line":286},[239,1415,558],{"class":307},[239,1417,227],{"class":249},[239,1419,313],{"class":249},[239,1421,1422,1424,1426],{"class":241,"line":304},[239,1423,1296],{"class":307},[239,1425,227],{"class":249},[239,1427,313],{"class":249},[239,1429,1430,1432,1434,1436,1439,1441],{"class":241,"line":316},[239,1431,1305],{"class":307},[239,1433,227],{"class":249},[239,1435,269],{"class":249},[239,1437,1438],{"class":272},"https:\u002F\u002Fgithub.com\u002Fusername\u002Frepo",[239,1440,343],{"class":249},[239,1442,346],{"class":249},[239,1444,1445,1447,1449],{"class":241,"line":330},[239,1446,1321],{"class":307},[239,1448,227],{"class":249},[239,1450,313],{"class":249},[239,1452,1453,1455,1457,1459,1461,1463],{"class":241,"line":349},[239,1454,1330],{"class":307},[239,1456,227],{"class":249},[239,1458,269],{"class":249},[239,1460,1337],{"class":272},[239,1462,343],{"class":249},[239,1464,346],{"class":249},[239,1466,1467,1470,1472,1474,1476,1478],{"class":241,"line":364},[239,1468,1469],{"class":307},"        token",[239,1471,227],{"class":249},[239,1473,269],{"class":249},[239,1475,1353],{"class":272},[239,1477,343],{"class":249},[239,1479,346],{"class":249},[239,1481,1482],{"class":241,"line":373},[239,1483,852],{"class":249},[239,1485,1486],{"class":241,"line":379},[239,1487,1366],{"class":249},[239,1489,1490],{"class":241,"line":855},[239,1491,1371],{"class":249},[239,1493,1494,1496],{"class":241,"line":862},[239,1495,382],{"class":249},[239,1497,370],{"class":253},[1499,1500,1501],"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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}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}",{"title":235,"searchDepth":279,"depth":279,"links":1503},[1504],{"id":222,"depth":279,"text":222,"children":1505},[1506,1508,1509,1510,1511],{"id":459,"depth":286,"text":1507},"include (required)",{"id":469,"depth":286,"text":469},{"id":477,"depth":286,"text":477},{"id":626,"depth":286,"text":626},{"id":708,"depth":286,"text":708},"Learn how to import your files in Nuxt Content collections.","md",null,{},{"title":39},{"title":211,"description":1512},"nbfN4cCt6pi44cbmWviaLMYC5QUaHV8MXGvtGx1JMS4",[1520,1522],{"title":35,"path":36,"stem":37,"description":1521,"children":-1},"Learn about the two types of collections you can define in Nuxt Content.",{"title":43,"path":44,"stem":45,"description":1523,"children":-1},"Define collection schemas with your preferred validator and full type-safety.",1778247772887]