Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions docs/.vitepress/config/en.mts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { DefaultTheme, LocalSpecificConfig } from 'vitepress'
import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'

export const META_URL = ''
export const META_TITLE = 'Vue Test Utils'
export const META_DESCRIPTION = 'The official testing suite utils for Vue.js 3'

export const enConfig: LocalSpecificConfig<DefaultTheme.config> = {
export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
description: META_DESCRIPTION,
head: [
['meta', { property: 'og:url', content: META_URL }],
Expand Down Expand Up @@ -39,7 +39,6 @@ export const enConfig: LocalSpecificConfig<DefaultTheme.config> = {
},
{
text: 'Essentials',
collapsable: false,
items: [
{ text: 'Getting Started', link: '/guide/' },
{ text: 'A Crash Course', link: '/guide/essentials/a-crash-course' },
Expand All @@ -64,7 +63,6 @@ export const enConfig: LocalSpecificConfig<DefaultTheme.config> = {
},
{
text: 'Vue Test Utils in depth',
collapsable: false,
items: [
{ text: 'Slots', link: '/guide/advanced/slots' },
{
Expand Down Expand Up @@ -97,7 +95,6 @@ export const enConfig: LocalSpecificConfig<DefaultTheme.config> = {
},
{
text: 'Extending Vue Test Utils',
collapsable: false,
items: [
{ text: 'Plugins', link: '/guide/extending-vtu/plugins' },
{
Expand Down
7 changes: 2 additions & 5 deletions docs/.vitepress/config/fr.mts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { DefaultTheme, LocalSpecificConfig } from 'vitepress'
import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'

export const META_URL = ''
export const META_TITLE = 'Vue Test Utils'
export const META_DESCRIPTION = 'La librairie officielle de tests unitaires pour Vue.js 3'

export const frConfig: LocalSpecificConfig<DefaultTheme.config> = {
export const frConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
description: META_DESCRIPTION,
head: [
['meta', { property: 'og:url', content: META_URL }],
Expand Down Expand Up @@ -43,7 +43,6 @@ export const frConfig: LocalSpecificConfig<DefaultTheme.config> = {
},
{
text: 'Les Bases',
collapsable: false,
items: [
{ text: 'Pour commencer', link: '/fr/guide/' },
{ text: 'Cours rapide', link: '/fr/guide/essentials/a-crash-course' },
Expand All @@ -68,7 +67,6 @@ export const frConfig: LocalSpecificConfig<DefaultTheme.config> = {
},
{
text: 'Vue Test Utils en détail',
collapsable: false,
items: [
{ text: 'Slots', link: '/fr/guide/advanced/slots' },
{
Expand Down Expand Up @@ -101,7 +99,6 @@ export const frConfig: LocalSpecificConfig<DefaultTheme.config> = {
},
{
text: 'Extensions de Vue Test Utils',
collapsable: false,
items: [
{ text: 'Plugins', link: '/fr/guide/extending-vtu/plugins' },
{
Expand Down