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