Skip to content

Commit

Permalink
docs: 1.补充官网 CNAME 2.订正官网打包路径 (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: yanxiong <[email protected]>
  • Loading branch information
heiyexing and heiyexing authored Oct 20, 2023
1 parent dd4d507 commit 2233003
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineConfig({
entryFile: './src/index.tsx',
},
title: 'L7 Editor - 基于 L7 的地理数据绘制工具',
outputPath: 'dist',
outputPath: 'docs-dist',
copy: isProduction ? ['docs/CNAME'] : [],
themeConfig: {
name: 'L7 Editor',
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ yarn.lock
/lib
/umd
/.kiwi
/.vscode
/.vscode
/docs-dist
2 changes: 1 addition & 1 deletion docs/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
l7editor.antv.antgroup.com
l7editor.antv.vision
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
"setup": "dumi setup",
"doctor": "father doctor",
"docs:build": "dumi build",
"docs:build-analyze": "ANALYZE=1 dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"deploy": "npm run docs:build && npm run docs:deploy"
"deploy": "npm run docs:build && npm run docs:deploy",
"release": "npm run build && npm publish"
},
"dependencies": {
"@ant-design/icons": "^4.8.0",
Expand Down Expand Up @@ -61,7 +63,6 @@
"wellknown": "^0.5.0",
"xlsx": "^0.18.5"
},
"yuyanId": "180020010001251474",
"devDependencies": {
"@antv/l7": "^2.11.0",
"@babel/runtime": "^7.22.10",
Expand Down

0 comments on commit 2233003

Please sign in to comment.