Skip to content

Commit 151beae

Browse files
committed
chore: change vitepress config
1 parent bcd571b commit 151beae

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.vitepress/config.ts

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ export const sidebar: ThemeConfig['sidebar'] = {
205205
link: '/guide/components/registration'
206206
},
207207
{ text: 'Props', link: '/guide/components/props' },
208-
{ text: 'رویداد های کامپوننت (Events)', link: '/guide/components/events' },
208+
{
209+
text: 'رویداد های کامپوننت (Events)',
210+
link: '/guide/components/events'
211+
},
209212
{ text: 'v-model', link: '/guide/components/v-model' },
210213
{
211214
text: 'Fallthrough Attributes',
@@ -252,7 +255,10 @@ export const sidebar: ThemeConfig['sidebar'] = {
252255
{
253256
text: 'Scaling Up',
254257
items: [
255-
{ text: 'کامپوننت های تک فایلی (Single-File Components)', link: '/guide/scaling-up/sfc' },
258+
{
259+
text: 'کامپوننت های تک فایلی (Single-File Components)',
260+
link: '/guide/scaling-up/sfc'
261+
},
256262
{ text: 'ابزارها (Tooling)', link: '/guide/scaling-up/tooling' },
257263
{ text: 'مسیریابی (Routing)', link: '/guide/scaling-up/routing' },
258264
{
@@ -580,7 +586,7 @@ export default defineConfigWithTheme<ThemeConfig>({
580586
lang: 'fa',
581587
dir: 'rtl',
582588
title: 'Vue.js',
583-
description: 'Vue.js - The Progressive JavaScript Framework',
589+
description: 'Vue.js - فریمورک پیش‌رونده جاوااسکریپت',
584590
srcDir: 'src',
585591
srcExclude: ['tutorial/**/description.md'],
586592

@@ -635,6 +641,11 @@ export default defineConfigWithTheme<ThemeConfig>({
635641
i18n,
636642

637643
localeLinks: [
644+
{
645+
link: 'https://vuejs.org',
646+
text: 'English',
647+
repo: 'https://github.com/vuejs/docs'
648+
},
638649
{
639650
link: 'https://cn.vuejs.org',
640651
text: '简体中文',
@@ -703,7 +714,7 @@ export default defineConfigWithTheme<ThemeConfig>({
703714
],
704715

705716
editLink: {
706-
repo: 'the-pesar/docs-fa',
717+
repo: 'vuejs-translations/docs-fa',
707718
text: 'ویرایش این صفحه در گیت‌هاب'
708719
},
709720

0 commit comments

Comments
 (0)