mirror of
https://github.com/JonasunderscoreJones/docs.jonasjones.dev.git
synced 2025-10-23 11:09:18 +02:00
added advanced translations system
This commit is contained in:
parent
1e6737c568
commit
e985408f85
6 changed files with 96 additions and 1 deletions
|
@ -11,6 +11,7 @@ const config = {
|
|||
title: 'Jonas_Jones Docs',
|
||||
tagline: 'docs.jonasjones.dev',
|
||||
favicon: 'img/favicon.png',
|
||||
staticDirectories: ['static', 'i18n'],
|
||||
|
||||
// Set the production url of your site here
|
||||
url: 'https://docs.jonasjones.dev',
|
||||
|
@ -31,7 +32,7 @@ const config = {
|
|||
// may want to replace "en" with "zh-Hans".
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['en'],
|
||||
locales: ['en', 'de'],
|
||||
},
|
||||
|
||||
presets: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue