Skip to content

Commit

Permalink
Локализация
Browse files Browse the repository at this point in the history
  • Loading branch information
sfaqer committed Oct 31, 2024
1 parent 8f668cb commit 8268eb4
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ export default defineConfig({
})
},

editLink: {
pattern: 'https://github.com/autumn-library/docs/edit/master/docs/:path'
},

socialLinks: [
{ icon: 'github', link: 'https://github.com/autumn-library/autumn' },
{
Expand Down Expand Up @@ -105,7 +101,26 @@ export default defineConfig({
}
}
}
}
},

editLink: {
pattern: 'https://github.com/autumn-library/docs/edit/master/docs/:path',
text: 'Редактировать страницу'
},

docFooter: {
prev: 'Предыдущая страница',
next: 'Следующая страница'
},

outline: { label: 'Содержание страницы' },

darkModeSwitchLabel: 'Оформление',
lightModeSwitchTitle: 'Переключить на светлую тему',
darkModeSwitchTitle: 'Переключить на тёмную тему',
sidebarMenuLabel: 'Меню',
returnToTopLabel: 'Вернуться к началу',
langMenuLabel: 'Изменить язык'

},

Expand Down

0 comments on commit 8268eb4

Please sign in to comment.