Skip to content

Commit

Permalink
fix: build en
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Dec 25, 2024
1 parent f72b967 commit 7f18b69
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const config = {
({
favicon: 'img/logo.svg',
metadata: [
{name: 'keywords', content: 'midway, midwayjs, midway, midwayjs, midwayjs.org, Node.js Framework'},
{
name: 'referrer',
content: 'no-referrer',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Tabs from '@theme/Tabs';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Routing and controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Tabs from '@theme/Tabs';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Routing and controller
Expand Down
4 changes: 3 additions & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc",
"init": "pnpm install --ignore-workspace"
"init": "pnpm install --ignore-workspace",
"build:en": "docusaurus build --locale en",
"build:zh": "docusaurus build --locale zh"
},
"dependencies": {
"@docusaurus/core": "3.6.3",
Expand Down

0 comments on commit 7f18b69

Please sign in to comment.