Skip to content
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm

- name: Install dependencies
Expand Down
10 changes: 9 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const config = {
projectName: 'docs-scalardb', // Usually your repo name.

onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'ignore',
onBrokenAnchors: 'ignore',
onDuplicateRoutes: 'warn',

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
Expand Down Expand Up @@ -374,6 +374,9 @@ const config = {
],
markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: 'ignore',
},
},
themes: ['@docusaurus/theme-mermaid'],

Expand Down Expand Up @@ -568,6 +571,11 @@ const config = {
textColor: '#FFFFFF',
isCloseable: false,
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
zoom: {
selector: '.markdown :not(em) > img',
background: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version.label": {
"message": "3.15",
"description": "The label for version current"
"description": "The label for version 3.15"
}
}
Loading