Skip to content

Commit

Permalink
refactor: LC 文档重构
Browse files Browse the repository at this point in the history
  • Loading branch information
huangliling committed Aug 28, 2024
1 parent 5913783 commit 8aaee38
Show file tree
Hide file tree
Showing 950 changed files with 6,497 additions and 217,233 deletions.
78 changes: 0 additions & 78 deletions .ci/build-hk.sh

This file was deleted.

17 changes: 0 additions & 17 deletions .ci/build-leancloud.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,5 @@

set -e

# 移除 TDS 文档
rm -rf docs i18n versioned_docs versioned_sidebars versions.json

# 移动 LC 文档
mv leancloud/docs .
mv leancloud/i18n .

# 替换配置文件
mv leancloud/conf/env.ts src/constants/env.ts
cp leancloud/conf/override.scss src/styles/override.scss
cp leancloud/conf/docusaurus.config.js docusaurus.config.js
cp leancloud/conf/sidebars.js sidebars.js

# 构建
yarn build --out-dir build-leancloud

# 重置到初始状态
# git clean -df
# git checkout -f
127 changes: 0 additions & 127 deletions .ci/hk/docusaurus.config.js

This file was deleted.

Loading

0 comments on commit 8aaee38

Please sign in to comment.