Skip to content

Commit 30aa1c3

Browse files
larbishnuxtstudio
andcommitted
docs(setup): studio parsing
Co-authored-by: Nuxt Studio <noreply@nuxt.studio>
1 parent c5deb88 commit 30aa1c3

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

docs/content/2.setup.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ Configure where your content is stored and where changes will be committed.
4343

4444
When deploying on **Vercel**, **Netlify**, **GitHub Actions**, or **GitLab CI**, the repository details (`provider`, `owner`, `repo`, and `branch`) are **automatically detected** from the CI environment variables — no manual configuration is needed.
4545

46-
::note
47-
On Vercel, make sure that the **[Automatically expose System Environment Variables](https://vercel.com/docs/environment-variables/system-environment-variables#automatically-expose-system-environment-variables)** option is enabled in your project settings for auto-detection to work.
48-
::
46+
:::note
47+
On Vercel, make sure that the **[Automatically expose System Environment Variables](https://vercel.com/docs/environment-variables/system-environment-variables#automatically-expose-system-environment-variables)** option is enabled in your project settings for auto-detection to work.
48+
:::
4949

5050
For other platforms, or to override the detected values, configure the repository manually:
5151

@@ -90,14 +90,14 @@ If you want to pre-render all your pages, use the following configuration:
9090

9191
```ts [nuxt.config.ts]
9292
export default defineNuxtConfig({
93-
nitro: {
94-
prerender: {
95-
// Pre-render the homepage
96-
routes: ['/'],
97-
// Then crawl all the links on the page
98-
crawlLinks: true
99-
}
93+
nitro: {
94+
prerender: {
95+
// Pre-render the homepage
96+
routes: ['/'],
97+
// Then crawl all the links on the page
98+
crawlLinks: true
10099
}
100+
}
101101
})
102102
```
103103

@@ -136,12 +136,12 @@ Use the `repository` option to specify your git repository to sync in production
136136

137137
When deploying on supported platforms, the repository details are **automatically detected** from CI environment variables:
138138

139-
| Platform | Provider | Owner | Repo | Branch |
140-
|---|---|---|---|---|
141-
| **Vercel** | `VERCEL_GIT_PROVIDER` | `VERCEL_GIT_REPO_OWNER` | `VERCEL_GIT_REPO_SLUG` | `VERCEL_GIT_COMMIT_REF` |
142-
| **Netlify** | from `REPOSITORY_URL` | from `REPOSITORY_URL` | from `REPOSITORY_URL` | `BRANCH` |
143-
| **GitHub Actions** | `github` | from `GITHUB_REPOSITORY` | from `GITHUB_REPOSITORY` | `GITHUB_REF_NAME` |
144-
| **GitLab CI** | `gitlab` | `CI_PROJECT_NAMESPACE` | `CI_PROJECT_NAME` | `CI_COMMIT_BRANCH` |
139+
| Platform | Provider | Owner | Repo | Branch |
140+
| ------------------ | --------------------- | ------------------------ | ------------------------ | ----------------------- |
141+
| **Vercel** | `VERCEL_GIT_PROVIDER` | `VERCEL_GIT_REPO_OWNER` | `VERCEL_GIT_REPO_SLUG` | `VERCEL_GIT_COMMIT_REF` |
142+
| **Netlify** | from `REPOSITORY_URL` | from `REPOSITORY_URL` | from `REPOSITORY_URL` | `BRANCH` |
143+
| **GitHub Actions** | `github` | from `GITHUB_REPOSITORY` | from `GITHUB_REPOSITORY` | `GITHUB_REF_NAME` |
144+
| **GitLab CI** | `gitlab` | `CI_PROJECT_NAMESPACE` | `CI_PROJECT_NAME` | `CI_COMMIT_BRANCH` |
145145

146146
Auto-detection only applies when `owner` and `repo` are not explicitly set. Any manually configured values always take precedence.
147147

@@ -213,7 +213,6 @@ Nuxt Studio includes built-in internationalization support with the following la
213213
- 🇺🇦 **Ukrainian**
214214
- 🇨🇳 **Chinese**
215215
- 🇰🇷 **Korean**
216-
- 🇮🇶 **Kurdish**
217216
- 🇨🇿 **Czech**
218217
- 🇳🇴 **Norwegian (Bokmål)**
219218
- 🇳🇴 **Norwegian (Nynorsk)**
@@ -240,7 +239,7 @@ This will translate:
240239
- Contextual messages and notifications
241240

242241
::callout{icon="i-lucide-heart-handshake"}
243-
Community contributions for new language translations are welcome! If you'd like to add support for a new language, please visit the [GitHub repository](https://github.com/nuxt-content/nuxt-studio) and drop a pull request.
242+
Community contributions for new language translations are welcome! If you'd like to add support for a new language, please visit the [GitHub repository](https://github.com/nuxt-content/studio) and drop a pull request.
244243
::
245244

246245
### Dev mode

0 commit comments

Comments
 (0)