[{"data":1,"prerenderedAt":406},["ShallowReactive",2],{"navigation":3,"/docs/studio/github":195,"XTxVvkHja7":393},[4,24,43,61,83,101,135,165],{"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":42},"Collections","i-lucide-database","/docs/collections","docs/2.collections",[30,34,38],{"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",false,{"title":44,"icon":45,"path":46,"stem":47,"children":48,"page":42},"Files","i-lucide-file","/docs/files","docs/3.files",[49,53,57],{"title":50,"path":51,"stem":52},"Markdown","/docs/files/markdown","docs/3.files/1.markdown",{"title":54,"path":55,"stem":56},"YAML","/docs/files/yaml","docs/3.files/2.yaml",{"title":58,"path":59,"stem":60},"JSON","/docs/files/json","docs/3.files/3.json",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":42},"Query Utils","i-lucide-square-function","/docs/utils","docs/4.utils",[67,71,75,79],{"title":68,"path":69,"stem":70},"queryCollection","/docs/utils/query-collection","docs/4.utils/1.query-collection",{"title":72,"path":73,"stem":74},"queryCollectionNavigation","/docs/utils/query-collection-navigation","docs/4.utils/2.query-collection-navigation",{"title":76,"path":77,"stem":78},"queryCollectionItemSurroundings","/docs/utils/query-collection-item-surroundings","docs/4.utils/3.query-collection-item-surroundings",{"title":80,"path":81,"stem":82},"queryCollectionSearchSections","/docs/utils/query-collection-search-sections","docs/4.utils/4.query-collection-search-sections",{"title":84,"icon":85,"path":86,"stem":87,"children":88,"page":42},"Components","i-lucide-square-code","/docs/components","docs/5.components",[89,93,97],{"title":90,"path":91,"stem":92},"ContentRenderer","/docs/components/content-renderer","docs/5.components/0.content-renderer",{"title":94,"path":95,"stem":96},"Slot","/docs/components/slot","docs/5.components/1.slot",{"title":98,"path":99,"stem":100},"Prose Components","/docs/components/prose","docs/5.components/2.prose",{"title":102,"icon":103,"path":104,"stem":105,"children":106,"page":42},"Deploy","i-lucide-cloud-upload","/docs/deploy","docs/6.deploy",[107,111,115,119,123,127,131],{"title":108,"path":109,"stem":110},"Server","/docs/deploy/server","docs/6.deploy/1.server",{"title":112,"path":113,"stem":114},"Serverless","/docs/deploy/serverless","docs/6.deploy/2.serverless",{"title":116,"path":117,"stem":118},"NuxtHub","/docs/deploy/nuxthub","docs/6.deploy/3.nuxthub",{"title":120,"path":121,"stem":122},"Cloudflare Pages","/docs/deploy/cloudflare-pages","docs/6.deploy/4.cloudflare-pages",{"title":124,"path":125,"stem":126},"Vercel","/docs/deploy/vercel","docs/6.deploy/5.vercel",{"title":128,"path":129,"stem":130},"Docker","/docs/deploy/docker","docs/6.deploy/6.docker",{"title":132,"path":133,"stem":134},"Static","/docs/deploy/static","docs/6.deploy/7.static",{"title":136,"icon":137,"path":138,"stem":139,"children":140,"page":42},"Advanced","i-lucide-code-xml","/docs/advanced","docs/7.advanced",[141,145,149,153,157,161],{"title":142,"path":143,"stem":144},"Full-Text Search","/docs/advanced/fulltext-search","docs/7.advanced/1.fulltext-search",{"title":146,"path":147,"stem":148},"Raw Content","/docs/advanced/raw-content","docs/7.advanced/2.raw-content",{"title":150,"path":151,"stem":152},"SQL Storage","/docs/advanced/database","docs/7.advanced/3.database",{"title":154,"path":155,"stem":156},"Debugging tools","/docs/advanced/tools","docs/7.advanced/4.tools",{"title":158,"path":159,"stem":160},"Hooks","/docs/advanced/hooks","docs/7.advanced/5.hooks",{"title":162,"path":163,"stem":164},"Custom Source","/docs/advanced/custom-source","docs/7.advanced/6.custom-source",{"title":166,"icon":167,"path":168,"stem":169,"children":170,"page":42},"Studio","i-lucide-monitor","/docs/studio","docs/8.studio",[171,175,179,183,187,191],{"title":172,"path":173,"stem":174},"Setup","/docs/studio/setup","docs/8.studio/1.setup",{"title":176,"path":177,"stem":178},"Synchronization","/docs/studio/github","docs/8.studio/2.github",{"title":180,"path":181,"stem":182},"Content editors","/docs/studio/content","docs/8.studio/3.content",{"title":184,"path":185,"stem":186},"Medias","/docs/studio/medias","docs/8.studio/4.medias",{"title":188,"path":189,"stem":190},"App Config","/docs/studio/config","docs/8.studio/5.config",{"title":192,"path":193,"stem":194},"Local Debug","/docs/studio/debug","docs/8.studio/6.debug",{"page":196,"surround":388},{"id":197,"title":198,"body":199,"description":382,"extension":383,"links":384,"meta":385,"navigation":386,"path":177,"seo":387,"stem":178},"docs/docs/8.studio/2.github.md","Real time synchronization between Studio and GitHub",{"type":200,"value":201,"toc":371},"minimal",[202,209,214,231,234,243,251,256,259,303,318,333,337,344,351,355,358],[203,204,205],"tip",{},[206,207,208],"p",{},"This section explains the syncronization behaviour between Studio and GitHub. This process is handled directly from the platform and does not require any external action. This page purpose is purely informational.",[210,211,213],"h2",{"id":212},"overview","Overview",[206,215,216,217,224,225,230],{},"Nuxt Studio integrates with the ",[218,219,223],"a",{"href":220,"rel":221},"https://github.com",[222],"nofollow","GitHub"," API, enabling smooth synchronization between Studio and your GitHub repositories. This first-class integration is made possible through the utilization of ",[218,226,229],{"href":227,"rel":228},"https://docs.github.com/en/developers/apps/getting-started-with-apps/about-apps#about-github-apps",[222],"GitHub Apps",".",[210,232,12],{"id":233},"installation",[206,235,236,237,242],{},"During Studio project creation, you'll need to install the ",[218,238,241],{"href":239,"rel":240},"https://github.com/apps/nuxt-studio",[222],"Nuxt Studio GitHub App"," in your personal account or in the organizations you manage. Installing a GitHub App requires either organization ownership or admin permissions in a repository. If you lack the necessary permissions, the repository owner will need to approve the request.",[206,244,245,246,230],{},"You can access the installation page from anywhere on the app by clicking on ",[218,247,250],{"href":248,"rel":249},"https://github.com/apps/nuxt-studio/installations/new",[222],"Install with GitHub",[252,253,255],"h3",{"id":254},"permissions","Permissions",[206,257,258],{},"During the installation of our GitHub app, you will be prompted to grant certain permissions:",[260,261,262,281],"ul",{},[263,264,265,266,270,271,270,274,277,278],"li",{},"Read access to ",[267,268,269],"code",{},"actions",", ",[267,272,273],{},"metadata",[267,275,276],{},"members",", and ",[267,279,280],{},"plan",[263,282,283,284,270,287,270,290,270,293,270,296,299,300],{},"Read and write access to ",[267,285,286],{},"secrets",[267,288,289],{},"administration",[267,291,292],{},"contents",[267,294,295],{},"pages",[267,297,298],{},"pull requests"," and ",[267,301,302],{},"workflows",[206,304,305,306,308,309,311,312,314,315,317],{},"We need read access to ",[267,307,269],{}," to send a notification when a workflow run fails on a pull request or on the repository default branch. ",[267,310,273],{}," is mandatory to fetch repository data, ",[267,313,276],{}," to import your organization members and repository collaborators and ",[267,316,280],{}," is used to propose features based on your GitHub account plan.",[206,319,320,321,270,323,270,325,270,327,270,329,299,331,230],{},"Nuxt Studio acts on your behalf to create repositories, branches, pull requests, and perform commits and merges. We also offer one-click deployment to GitHub Pages with instant preview of workflows and environment variables secrets management. To accomplish this, we need read and write access to ",[267,322,289],{},[267,324,292],{},[267,326,295],{},[267,328,298],{},[267,330,302],{},[267,332,286],{},[252,334,336],{"id":335},"repositories-installations","Repositories Installations",[206,338,339,340,230],{},"When installing our GitHub app, you will be prompted to select all repositories or a subset of them. This selection can be changed at any time by going to the ",[218,341,343],{"href":248,"rel":342},[222],"GitHub app settings",[206,345,346,347,350],{},"By clicking on ",[267,348,349],{},"Install",", Nuxt Studio will install each repository you have selected, enabling you to perform all the actions listed above.",[210,352,354],{"id":353},"uninstall","Uninstall",[206,356,357],{},"All the data imported from GitHub is directly associated with your GitHub app installation. If you uninstall the GitHub app, all the associated data will be deleted.",[206,359,360,361,365,366,370],{},"If you delete your GitHub repository, the associated Nuxt Studio project will be automatically removed. However, if this project was subscribed to a Team plan, the subscription will not be canceled automatically. You will need to manually end the subscription via ",[218,362,364],{"href":363},"","Lemon Squeezy"," or ",[218,367,369],{"href":368},"team@nuxt.studio","contact us"," for assistance.",{"title":363,"searchDepth":372,"depth":372,"links":373},4,[374,376,381],{"id":212,"depth":375,"text":213},2,{"id":233,"depth":375,"text":12,"children":377},[378,380],{"id":254,"depth":379,"text":255},3,{"id":335,"depth":379,"text":336},{"id":353,"depth":375,"text":354},"Nuxt Studio is natively synced with GitHub. Install the Nuxt Studio GitHub app and enable content publication on GitHub directly from Studio.","md",null,{},{"title":176},{"title":198,"description":382},[389,391],{"title":172,"path":173,"stem":174,"description":390,"children":-1},"Studio is the intuitive CMS interface to edit Nuxt Content websites. Edit your Markdown, YAML and JSON files and publish your changes to GitHub.",{"title":180,"path":181,"stem":182,"description":392,"children":-1},"Discover and select your favorite way to manage your content between the visual or the code editor.",{"data":394,"body":395,"excerpt":-1,"toc":404},{"title":363,"description":382},{"type":396,"children":397},"root",[398],{"type":399,"tag":206,"props":400,"children":401},"element",{},[402],{"type":403,"value":382},"text",{"title":363,"searchDepth":375,"depth":375,"links":405},[],1740061578278]