Skip to content

Conversation

@OreoYang
Copy link
Contributor

@OreoYang OreoYang commented Dec 24, 2025

  1. i18n support
    Use the siteConfig.i18n.localeConfigs[].url attribute to configure a distinct site URL for each locale:
example:
export default {
  i18n: {
    defaultLocale: 'en',
    locales: ['en', 'zh-CN'],
    path: 'i18n',
    localeConfigs: {
      en: {
        label: 'English',
        url: 'https://en.ivorysql.org',
        baseUrl: '/',
      },
      'zh-CN': {
        label: ’中文',
        url: 'https://cn.ivorysql.org',
        baseUrl: '/',
      },
    },
  },
}; 

2.onBrokenLinks
Type: 'ignore' | 'log' | 'warn' | 'throw'
The behavior of Docusaurus when it detects any broken anchor declared with the Heading component of Docusaurus.

By default, it prints a warning, to let you know about your broken anchors.

  1. set defaultLocale to en
  2. remove redirection rule
# Redirect users from China to chinese version at /zh-CN.
 /  /zh-cn 302! Country=cn
# Also users with Chinese language should be redirected to /zh-cn
 / /zh-cn 302! Language=zh

@netlify
Copy link

netlify bot commented Dec 24, 2025

Deploy Preview for ivorysql ready!

Name Link
🔨 Latest commit db2bf0c
🔍 Latest deploy log https://app.netlify.com/projects/ivorysql/deploys/694b3d161728a90008a497bb
😎 Deploy Preview https://deploy-preview-179--ivorysql.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@bigplaice
Copy link
Contributor

no comments.

@gaoxueyu gaoxueyu merged commit 5eefbda into IvorySQL:main Dec 24, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants