Skip to content

Commit 46ef035

Browse files
committed
fix(docs): deduplicate page headings
1 parent 72d92aa commit 46ef035

File tree

12 files changed

+16
-22
lines changed

12 files changed

+16
-22
lines changed

docs/content/1.guide/1.index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: Getting Started
23
icon: ph:rocket-launch
34
---
45

5-
# Getting Started
6-
76
Validate your Nuxt runtime config at build or runtime using **Zod**, **Valibot**, **ArkType**, or any [Standard Schema](https://standardschema.dev/) compatible library.
87

98
## Features

docs/content/1.guide/2.configuration.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: Configuration
23
icon: ph:gear
34
---
45

5-
# Configuration
6-
76
All options for `safeRuntimeConfig` in your `nuxt.config.ts`.
87

98
## Options Reference

docs/content/1.guide/3.type-safety.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: Type Safety
23
icon: ph:shield-check
34
---
45

5-
# Type Safety
6-
76
The module generates TypeScript types from your schema, making `useSafeRuntimeConfig()` fully typed without manual generics in both app and server code.
87

98
## How It Works

docs/content/1.guide/4.validation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: Validation
23
icon: ph:seal-check
34
---
45

5-
# Validation
6-
76
The module validates your runtime config to catch configuration errors early. By default, validation runs at build time only.
87

98
## Build-time Validation (Default)

docs/content/2.schemas/1.index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: Schema Libraries
23
icon: ph:brackets-curly
34
---
45

5-
# Schema Libraries
6-
76
This module works with any [Standard Schema](https://standardschema.dev/) compatible library. Standard Schema is a shared interface that lets validation libraries work interchangeably.
87

98
## Supported Libraries

docs/content/2.schemas/2.valibot.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: Valibot
23
icon: custom:valibot
34
---
45

5-
# Valibot
6-
76
[Valibot](https://valibot.dev/) is a modular validation library with excellent tree-shaking. Only the functions you use are bundled.
87

98
## Installation

docs/content/2.schemas/3.zod.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: Zod
23
icon: simple-icons:zod
34
---
45

5-
# Zod
6-
76
[Zod](https://zod.dev/) is a TypeScript-first schema validation library with a fluent API.
87

98
## Installation

docs/content/2.schemas/4.arktype.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: ArkType
23
icon: custom:arktype
34
---
45

5-
# ArkType
6-
76
[ArkType](https://arktype.io/) is a type-first validation library where you write types that look like TypeScript syntax.
87

98
## Installation

docs/content/3.integrations/1.index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: Integrations
23
icon: ph:puzzle-piece
34
---
45

5-
# Integrations
6-
76
Extend the module with additional capabilities.
87

98
## Available Integrations

docs/content/3.integrations/2.shelve.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
title: Shelve Integration
23
icon: ph:vault
34
---
45

5-
# Shelve Integration
6-
76
[Shelve](https://shelve.cloud) is a secrets management platform for development teams. This integration fetches your secrets at build time and injects them into runtime config.
87

98
:u-button{to="https://shelve.cloud/docs/getting-started" label="Shelve Documentation" target="_blank" trailing-icon="i-ph-arrow-square-out"}

0 commit comments

Comments
 (0)