docs: remove markdown from descriptions

This commit is contained in:
Benjamin Canac
2024-11-07 15:21:38 +01:00
parent 70fcc68ee2
commit 42fce998e4
5 changed files with 14 additions and 10 deletions

View File

@@ -25,8 +25,8 @@ useSeoMeta({
titleTemplate: '%s - Nuxt UI v3',
title: typeof page.value.navigation === 'object' ? page.value.navigation.title : page.value.title,
ogTitle: `${typeof page.value.navigation === 'object' ? page.value.navigation.title : page.value.title} - Nuxt UI v3`,
description: page.value.seo?.description || page.value.description,
ogDescription: page.value.seo?.description || page.value.description
description: page.value.description,
ogDescription: page.value.description
})
defineOgImageComponent('Docs', {

View File

@@ -1,8 +1,11 @@
---
title: Icons
description: 'Nuxt UI integrates with `@nuxt/icon` to access over 200,000+ icons from [Iconify](https://iconify.design/).'
seo.description: 'Nuxt UI integrates with `@nuxt/icon` to access over 200,000+ icons from Iconify.'
description: 'Nuxt UI integrates with Nuxt Icon to access over 200,000+ icons from Iconify.'
links:
- label: 'Iconify'
to: https://iconify.design/
target: _blank
icon: i-simple-icons-iconify
- label: 'nuxt/icon'
to: https://github.com/nuxt/icon
target: _blank

View File

@@ -1,6 +1,6 @@
---
title: Fonts
description: 'Nuxt UI integrates with `@nuxt/fonts` to provide plug-and-play font optimization.'
description: 'Nuxt UI integrates with Nuxt Fonts to provide plug-and-play font optimization.'
links:
- label: 'nuxt/fonts'
to: https://github.com/nuxt/fonts

View File

@@ -1,6 +1,6 @@
---
title: Color Mode
description: 'Nuxt UI integrates with `@nuxtjs/color-mode` to allow for easy switching between light and dark themes.'
description: 'Nuxt UI integrates with Nuxt Color Mode to allow for easy switching between light and dark themes.'
links:
- label: 'nuxtjs/color-mode'
to: https://github.com/nuxt-modules/color-mode
@@ -10,7 +10,7 @@ links:
## Usage
Nuxt UI automatically registers the `@nuxtjs/color-mode` module for you, so there's no additional setup required.
Nuxt UI automatically registers the [`@nuxtjs/color-mode`](https://github.com/nuxt-modules/color-mode) module for you, so there's no additional setup required.
You can disable dark mode by setting the `preference` to `light` instead of `system` in your `nuxt.config.ts`.

View File

@@ -1,9 +1,10 @@
---
title: CommandPalette
description: A command palette with full-text search powered by [Fuse.js](https://fusejs.io/) for efficient fuzzy matching.
seo:
description: A command palette with full-text search powered by Fuse.js for efficient fuzzy matching.
description: A command palette with full-text search powered by Fuse.js for efficient fuzzy matching.
links:
- label: Fuse.js
to: https://fusejs.io/
target: _blank
- label: Combobox
icon: i-custom-radix-vue
to: https://www.radix-vue.com/components/combobox.html