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