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-04-05 04:47:21 +08:00
|
|
|
locales: ['en', 'zh', 'jp', 'pt'],
|
2023-03-31 08:43:20 +08:00
|
|
|
defaultLocale: 'en'
|
|
|
|
}
|
|
|
|
})
|