2023-03-11 07:22:18 +08:00
|
|
|
const withNextra = require('nextra')({
|
|
|
|
theme: 'nextra-theme-docs',
|
|
|
|
themeConfig: './theme.config.tsx',
|
|
|
|
})
|
|
|
|
|
2023-03-31 08:43:20 +08:00
|
|
|
module.exports = withNextra({
|
|
|
|
i18n: {
|
2023-05-12 23:06:22 +08:00
|
|
|
locales: ['en', 'zh', 'jp', 'pt', 'tr', 'es', 'it', 'fr', 'kr', `ca`],
|
2023-04-12 18:17:02 +08:00
|
|
|
defaultLocale: 'en',
|
|
|
|
},
|
2023-03-31 08:43:20 +08:00
|
|
|
})
|