mirror of
https://github.com/Kxsso/jcutmirror.git
synced 2026-02-09 01:16:58 +08:00
22 lines
525 B
JavaScript
22 lines
525 B
JavaScript
module.exports = {
|
|
documentSources: {
|
|
mirrors: {
|
|
folder: '/:lang/:segment+',
|
|
path: '/:lang?/docs/:segment+',
|
|
template: `./src/templates/mirror-doc.tsx`,
|
|
getLanguageFromPath: true
|
|
},
|
|
news: {
|
|
folder: '/:lang/:segment+',
|
|
path: '/:lang?/news/:segment+',
|
|
template: `./src/templates/news.tsx`,
|
|
getLanguageFromPath: true
|
|
}
|
|
},
|
|
defaultLanguage: 'zh',
|
|
locales: ['zh', 'en'],
|
|
siteUrl: 'https://mirrors.jcut.edu.cn',
|
|
pathPrefix: '',
|
|
assetPrefix: '/index',
|
|
};
|