-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change vitepress source directory with locale route
- Loading branch information
Showing
8 changed files
with
35 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.env | ||
dist/ | ||
feishu-pages/ | ||
node_modules/ | ||
docs/**/* | ||
locales/**/* | ||
!docs/index.md | ||
.vitepress/cache/ | ||
.vitepress/dist/ | ||
.vitepress/dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Welcome to Whale Docs. | ||
|
||
- [简体中文](zh-CN/docs/guides.md) | ||
- [繁体中文](zh-HK/docs/guides.md) | ||
- [English](en/docs/guides.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
mkdir -p locales/en/docs locales/zh-HK/docs | ||
cp -r feishu-pages/docs/en/* locales/en/docs/ | ||
cp -r feishu-pages/docs/zh-HK/* locales/zh-HK/docs/ | ||
cp feishu-pages/docs.json locales/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
bun feishu-pages | ||
cp -r dist/docs/* docs/ | ||
cp dist/docs.json docs/ | ||
cp -r feishu-pages/docs/en/* locales/en/docs/ | ||
cp -r feishu-pages/docs/zh-HK/* locales/zh-HK/docs/ | ||
cp feishu-pages/docs.json locales/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters