config.js修改

This commit is contained in:
caishi 2026-03-13 16:30:27 +08:00
parent a074a9c25c
commit 211f20eef4
1 changed files with 7 additions and 7 deletions

View File

@ -11,8 +11,8 @@ module.exports = {
tagline:'gitlink帮助中心', tagline:'gitlink帮助中心',
url: 'https://help.gitlink.org.cn/', url: 'https://help.gitlink.org.cn/',
baseUrl: '/', baseUrl: '/',
onBrokenLinks: 'ignore', onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'ignore', onBrokenMarkdownLinks: 'warn',
favicon: 'img/icon.ico', favicon: 'img/icon.ico',
organizationName: 'luffyZh', // Usually your GitHub org/user name. organizationName: 'luffyZh', // Usually your GitHub org/user name.
projectName: 'docusaurus-luffyzh-website', // Usually your repo name. projectName: 'docusaurus-luffyzh-website', // Usually your repo name.
@ -76,11 +76,11 @@ module.exports = {
// type: 'localeDropdown', // type: 'localeDropdown',
// position: 'right', // position: 'right',
// }, // },
{ // {
position: 'right', // position: 'right',
component:'./src/components/LanguageSwitcher', // component:'./src/components/LanguageSwitcher',
// label:"language", // label:"language",
to:"#" // to:"#"
// items: [ // items: [
// { // {
// label: 'English', // label: 'English',
@ -91,7 +91,7 @@ module.exports = {
// onClick: () => handleLocaleChange('zh-Hans') // onClick: () => handleLocaleChange('zh-Hans')
// } // }
// ] // ]
} // }
// { // {
// href: 'https://github.com/boxyhq', // href: 'https://github.com/boxyhq',
// position: 'right', // position: 'right',