Skip to content

Commit b9c29d5

Browse files
committed
docs: update broken links
1 parent 89352b8 commit b9c29d5

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

docs/content/docs/1.getting-started/1.index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Welcome to Nuxt Content v3, a major upgrade that brings enhanced performance and
1212

1313
Collections organize related items within your project, helping you manage large datasets more efficiently. Key benefits include:
1414

15-
- **Structured Data**: Configure database architecture and define collections in [`content.config.ts`](/docs/getting-started/collections#defining-collections)
15+
- **Structured Data**: Configure database architecture and define collections in [`content.config.ts`](/docs/collections/collections#defining-collections)
1616
- **Type-safe Queries**: Direct TypeScript integration across all utilities
1717
- **Automatic Validation**: Ensure data consistency across frontmatter fields and data files (json, yml...)
1818
- **Advanced Query Builder**: Filter, sort, and paginate your collections with ease
1919
- **Studio Integration**: Enhanced form generation and optimal editing experience through [Studio](https://nuxt.studio)
2020

21-
Learn more about [Content Collections](/docs/getting-started/collections).
21+
Learn more about [Content Collections](/docs/collections/collections).
2222

2323
### Improved Performance
2424

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ This configuration creates a default `content` collection that processes all Mar
5858
The `type: page` means there is a 1-to-1 relationship between content files and pages on your site.
5959
::
6060

61-
::note{to="/docs/collections/define"}
61+
::note{to="/docs/collections/collections"}
6262
Learn more in our **Collections guide**.
6363
::
6464

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Here is the list breaking changes in Content v3:
2525
- Multi source is dropped in favor of multi collection.
2626
- Document `._path` is now renamed to `.path`
2727
- `searchContent()`{lang=ts} is dropped in favor of new api `queryCollectionSearchSections`
28-
- Full text search can easily done using this API See [Full-Text Search Snippets](/docs/snippets/fulltext-search)
28+
- Full text search can easily done using this API See [Full-Text Search Snippets](/docs/advanced/fulltext-search)
2929
- `useContentHelpers()`{lang=ts} is removed
3030

3131

docs/content/docs/2.collections/1.collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const { data: posts } = await useAsyncData('blog', () => queryCollection('blog')
9595
</template>
9696
```
9797

98-
::note{to="/api/query-collection"}
98+
::note{to="/docs/utils/query-collection"}
9999
Learn more about the available query options in our `queryCollections` API documentation.
100100
::
101101

docs/content/docs/2.collections/2.types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Here are examples of generated paths based on file structure:
4040
| `content/1.guide/2.installation` | `/guide/installation` |
4141

4242
::note
43-
You can use the helper [`queryCollection('COLLECTION').path('PATH')`{lang=ts}](/composables/query-collection) to retrieve content by a specific path.
43+
You can use the helper [`queryCollection('COLLECTION').path('PATH')`{lang=ts}](/docs/utils/query-collection) to retrieve content by a specific path.
4444
::
4545

4646
### Schema Overrides
@@ -52,7 +52,7 @@ When you use the **page** type, Nuxt Content generates several standard fields t
5252
- `description`: Page description
5353
- `seo`: SEO metadata (to be used with Nuxt's `useSeoMeta` composable)
5454
- `body`: Page content parsed as AST
55-
- `navigation`: Page navigation configuration (for [queryCollectionNavigation](/docs/composables/query-collection-navigation))
55+
- `navigation`: Page navigation configuration (for [queryCollectionNavigation](/docs/utils/query-collection-navigation))
5656

5757
Here is the corresponding schema applied:
5858
```ts

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ description: 'meta description of the page'
8989
| ------------------------------------------- | :-------: | ------------------------------------- | -------------------------------------------------------------------------------------------------------- |
9090
| `title` | `string` | First `<h1>`{lang="html"} of the page | Title of the page, will also be injected in metas |
9191
| `description` | `string` | First `<p>`{lang="html"} of the page | Description of the page, will be shown below the title and injected into the metas |
92-
| `navigation` | `boolean` | `true` | Define if the page is included in [`queryCollectionNavigation`](/docs/usage/navigation) return value. |
92+
| `navigation` | `boolean` | `true` | Define if the page is included in [`queryCollectionNavigation`](/docs/utils/query-collection-navigation) return value. |
9393

9494

9595
## Excerpt
@@ -131,7 +131,7 @@ Code highlighting works both on [`ProsePre`](/docs/components/prose#prosepre) an
131131
Each line of a code block gets its line number in the `line` attribute so lines can be labeled or individually styled.
132132

133133
::callout
134-
[Read the API reference to configure or entirely disable syntax highlighting.](/get-started/configuration)
134+
[Read the API reference to configure or entirely disable syntax highlighting.](/docs/getting-started/configuration)
135135
::
136136

137137
## Images
@@ -473,7 +473,7 @@ Code highlighting works both on [`ProsePre`](/docs/components/prose#prosepre) an
473473
Each line of a code block gets its line number in the `line` attribute so lines can be labeled or individually styled.
474474

475475
::callout
476-
[Read the API reference to configure or entirely disable syntax highlighting.](/get-started/configuration)
476+
[Read the API reference to configure or entirely disable syntax highlighting.](/docs/getting-started/configuration)
477477
::
478478

479479
### Images

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function queryCollection<T extends keyof Collections>(collection: T): Collection
1111

1212
## Usage
1313

14-
Use the auto-imported `queryCollection` to find contents inside a collection.Here we assume that you havr defined `docs` collection inside `content.config.ts`. If you have not defined any collection, check [How to define a collection](/docs/getting-started/collections#defineCollection).
14+
Use the auto-imported `queryCollection` to find contents inside a collection.Here we assume that you havr defined `docs` collection inside `content.config.ts`. If you have not defined any collection, check [How to define a collection](/docs/collections/collections#defining-collections).
1515

1616
```vue [pages/[...slug\\].vue]
1717
<script>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ Generate a navigation tree for the specified collection.
3434

3535
- Returns: A Promise that resolves to a navigation tree structure.
3636

37-
The navigation tree is generated based on the directory structure and ordering happens based on files [ordering](/docs/getting-started/contents#ordering)
37+
The navigation tree is generated based on the directory structure and ordering happens based on files [ordering](/docs/collections/types#ordering-files)

0 commit comments

Comments
 (0)