From 42fce998e43f43e127aafbea5d58d899e538dc58 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 7 Nov 2024 15:21:38 +0100 Subject: [PATCH] docs: remove markdown from descriptions --- docs/app/pages/[...slug].vue | 4 ++-- docs/content/1.getting-started/4.icons.md | 7 +++++-- docs/content/1.getting-started/5.fonts.md | 2 +- docs/content/1.getting-started/6.color-mode.md | 4 ++-- docs/content/3.components/command-palette.md | 7 ++++--- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/app/pages/[...slug].vue b/docs/app/pages/[...slug].vue index 43efbb4c..7e3b3c35 100644 --- a/docs/app/pages/[...slug].vue +++ b/docs/app/pages/[...slug].vue @@ -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', { diff --git a/docs/content/1.getting-started/4.icons.md b/docs/content/1.getting-started/4.icons.md index 1a4bc06e..cade73a1 100644 --- a/docs/content/1.getting-started/4.icons.md +++ b/docs/content/1.getting-started/4.icons.md @@ -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 diff --git a/docs/content/1.getting-started/5.fonts.md b/docs/content/1.getting-started/5.fonts.md index 74c8cbd3..552f228b 100644 --- a/docs/content/1.getting-started/5.fonts.md +++ b/docs/content/1.getting-started/5.fonts.md @@ -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 diff --git a/docs/content/1.getting-started/6.color-mode.md b/docs/content/1.getting-started/6.color-mode.md index 40fdd05c..3fa0be73 100644 --- a/docs/content/1.getting-started/6.color-mode.md +++ b/docs/content/1.getting-started/6.color-mode.md @@ -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`. diff --git a/docs/content/3.components/command-palette.md b/docs/content/3.components/command-palette.md index 3ba9323a..ba8dfe33 100644 --- a/docs/content/3.components/command-palette.md +++ b/docs/content/3.components/command-palette.md @@ -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