Skip to content

Commit d1f4e60

Browse files
committed
chore: upgrade deps
1 parent d0a8ecb commit d1f4e60

32 files changed

+419
-1366
lines changed

docs/content/blog/studio-v2.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ We are excited to announce the release of Nuxt Studio v2, a major update bringin
2424
Studio is optimized for **Nuxt Content** project but the only real requirement is to have a *content* folder with Markdown files. This simple setup is enough to start editing and publishing your files with the platform.
2525
::
2626

27-
### **A more intuitive interface**
27+
## **A more intuitive interface**
2828

2929
![Nuxt studio v2 interface](/blog/v2-interface.webp)
3030

3131
The main improvement in Version 2 is a **complete rework of the interface**. We have designed it to be more intuitive and user-friendly, especially for non-technical users. Our goal was to simplify the user experience, making it easier to create and set up projects with minimal hassle. The new interface is light, straightforward, and designed to streamline your workflow.
3232

33-
### **Google authentication**
33+
## **Google authentication**
3434

3535
![Google and GitHub authentication](/blog/google-github.webp)
3636

@@ -40,7 +40,7 @@ We now have two different authentication methods. You can either login with **Gi
4040
Since a Google user can not create a project, he has to **join a team** with existing projects to edit them.
4141
::
4242

43-
### **Minimal setup to edit your files**
43+
## **Minimal setup to edit your files**
4444

4545
You can now edit your content **without any setup**, just import your repository and this is it. You can navigate through your files and medias, edit your content and publish on GitHub.
4646

@@ -52,7 +52,7 @@ Collaboration is available for teams.
5252
Medias in the editor are not displayed until you set up the live preview (see section below).
5353
::
5454

55-
### Simplified setup for live preview
55+
## Simplified setup for live preview
5656

5757
![preview enable between notion like editor and website](/blog/preview.webp)
5858

@@ -64,13 +64,13 @@ While GitHub pages deployment remains available and still does not require any c
6464
It's crucial to use the latest version of the **Studio module** to ensure compatibility and access to new features.
6565
::
6666

67-
### New documentation
67+
## New documentation
6868

6969
With a revamped platform comes a [new documentation](https://nuxt.studio/docs/get-started/introduction). Don't hesitate to check it out to learn everything about the new Studio.
7070

7171
Whether you are an [editor](https://nuxt.studio/docs/editors/introduction) or a [developer](https://nuxt.studio/docs/developers/introduction) you now have your dedicated section in the docs.
7272

73-
### A new direction for Studio
73+
## A new direction for Studio
7474

7575
Most available CMS solutions have to choose between being very customizable for developers or highly user friendly for content editors, with Studio we want to do both.
7676

@@ -80,4 +80,4 @@ Most available CMS solutions have to choose between being very customizable for
8080
Our Notion-like editor has a bright future ahead, and we want to develop it collaboratively with the community.
8181
::
8282

83-
###
83+
##

docs/content/docs/1.getting-started/2.installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Installation
33
description: Get started with Nuxt Content v3 in your Nuxt application.
44
---
55

6-
### Install the Package
6+
## Install the Package
77

88
Choose your preferred package manager to install Nuxt Content v3:
99

@@ -25,7 +25,7 @@ bun add @nuxt/content
2525
```
2626
::
2727

28-
### Register the Module
28+
## Register the Module
2929

3030
Add the Nuxt Content module to your `nuxt.config.ts`:
3131

@@ -35,7 +35,7 @@ export default defineNuxtConfig({
3535
})
3636
```
3737

38-
### Automatic Setup
38+
## Automatic Setup
3939

4040
When starting a new Nuxt project with the `create-nuxt` CLI, you can simply select `@nuxt/content` from the interactive module selector. This will automatically install and register the module for you.
4141

@@ -71,7 +71,7 @@ If you don't want to install any package, you can use native SQLite from Node.js
7171
Checkout [`experimental.nativeSqlite` configuration](/docs/getting-started/configuration#experimentalnativesqlite-deprecated-use-sqliteconnector).
7272
::
7373

74-
### Create your First Collection
74+
## Create your First Collection
7575

7676
Create a `content.config.ts` file in your project root directory:
7777

@@ -98,7 +98,7 @@ The `type: page` means there is a 1-to-1 relationship between content files and
9898
Learn more in our **Collections guide**.
9999
::
100100

101-
### Create your First Markdown Page
101+
## Create your First Markdown Page
102102

103103
Create a `content/index.md` file in your project root directory:
104104

@@ -110,7 +110,7 @@ Here is some content.
110110

111111
Read more about writing [Markdown pages](/docs/files/markdown).
112112

113-
### Display your Page
113+
## Display your Page
114114

115115
Create a `pages/index.vue` file and display the page content:
116116

docs/content/docs/1.getting-started/3.configuration.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,4 +523,3 @@ export default defineNuxtConfig({
523523
::prose-note
524524
This feature is only available in Node.js v22.5.0 and above. Enabling this feature in older version will not do anything.
525525
::
526-

docs/content/docs/1.getting-started/4.migration.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ Note that in order to make these files available for Module, you should define y
148148
a way that includes these files. For example `source: '**'` and `source: '**/*.{md,yml}'` will include these files
149149
in collection, but `source: '**/*.md'` will not include them.
150150

151-
152151
## Ignore dot files
153152

154153
By default, Content v3 does not ignore dot files. If you want to ignore them, you can add `ignore: ['**/.*']` in the `exclude` option of your collection source.
@@ -173,6 +172,3 @@ defineCollection({
173172
}
174173
})
175174
```
176-
177-
178-

docs/content/docs/2.collections/4.validators.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Nuxt Content supports defining collection schemas with multiple validators. Out
99

1010
## Using Zod v3
1111

12-
1312
### Install
1413

1514
```bash
@@ -57,7 +56,7 @@ The `z` re-export from `@nuxt/content` is deprecated and will be removed in a fu
5756

5857
Zod v4 provides a native JSON Schema export. No `zod-to-json-schema` dependency is required.
5958

60-
### Install
59+
### Install Zod
6160

6261
```bash
6362
pnpm add -D zod
@@ -93,7 +92,7 @@ export default defineContentConfig({
9392
## Using Valibot
9493

9594
Use Valibot primitives to define your schema.
96-
### Install
95+
### Install Valibot
9796

9897
```bash
9998
pnpm add -D valibot @valibot/to-json-schema
@@ -144,5 +143,3 @@ You can enrich fields for Studio via `property(...).editor({ ... })` with both v
144143
::tip{to="/docs/studio/content"}
145144
Learn how editor metadata maps to form inputs in Studio.
146145
::
147-
148-

docs/content/docs/2.collections/5.inherit-schema-from-component.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,3 @@ export default defineContentConfig({
4848
::tip
4949
Pair `inherit()` with `editor(...)` for better Studio forms if you need custom inputs on top of the component's props.
5050
::
51-
52-

docs/content/docs/3.files/1.markdown.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ This will be rendered inside the `description` slot.
227227
:::code-preview{icon="i-lucide-eye" label="Preview"}
228228
::::example-hero
229229
My Page Title
230-
230+
231231
#description
232232
This will be rendered inside the `description` slot.
233233
::::
@@ -425,14 +425,14 @@ In addition to mdc components and `span`, attribute syntax will work on images,
425425
```md [index.md]
426426
Attributes work on:
427427

428-
- [link](#attributes){style="background-color: green;"}, `code`{style="color: cyan;"},
428+
- [Attributes](#attributes){style="background-color: green;"}, `code`{style="color: cyan;"},
429429
- _italic_{style="background-color: yellow; color:black;"} and **bold**{style="background-color: lightgreen;"} texts.
430430
```
431431

432432
:::code-preview{prose label="Preview"}
433433
Attributes work on:
434434

435-
- [link](#attributes){style="background-color: green;"}, `code`,
435+
- [Attributes](#attributes){style="background-color: green;"}, `code`,
436436
- *italic* and **bold** texts.
437437
:::
438438
::

docs/content/docs/3.files/4.csv.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,4 @@ id;name;email
140140

141141
::note
142142
The CSV parser can be disabled by setting `csv: false` in the configuration if you don't need CSV support.
143-
::
143+
::

docs/content/docs/4.utils/1.query-collection.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ description: The queryCollection composable provides methods for querying and
88

99
Use the auto-imported `queryCollection` to find contents inside a collection. Here we assume that you have defined `docs` collection inside `content.config.ts`.
1010

11-
1211
If you have not defined any collection, check [How to define a collection](/docs/collections/define#defining-collections).
1312

14-
1513
```vue [pages/[...slug\\].vue]
1614
<script>
1715
const route = useRoute()

docs/content/docs/4.utils/2.query-collection-navigation.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ const { data } = await useAsyncData('navigation', () => {
115115
</template>
116116
```
117117

118-
119118
## Server Usage
120119

121120
Nuxt Content provides a similar utility to query collections on the server side. The only difference is that you need to pass `event` as the first argument to the `queryCollectionNavigation` function.
@@ -180,7 +179,6 @@ const breadcrumb = findPageBreadcrumb(navigation, '/docs/guide/getting-started')
180179
// breadcrumb is an array of navigation items leading to the current page
181180
```
182181

183-
184182
### `findPageChildren(navigation, path, options?)`
185183

186184
Finds and returns the direct children of a given path in the navigation tree.
@@ -199,8 +197,6 @@ const children = findPageChildren(navigation, '/docs/guide')
199197
// children is an array of navigation items under '/docs/guide'
200198
```
201199

202-
203-
204200
### `findPageSiblings(navigation, path, options?)`
205201

206202
Returns the sibling navigation items for a given path (i.e., other items with the same parent).

0 commit comments

Comments
 (0)