mirror of https://gitee.com/antv-l7/antv-l7
Publish (#1499)
* chore: publish * fix: update dumi-theme-antv version * docs: raster 文档 * fix: docs 样式 * docs: lint * docs: lint * docs: 官网配置 * fix: geojson vt * fix: 更新dumi 配置 * fix: 更新文档 * docs: 文档 * docs: 更新文档 Co-authored-by: Dreammy23 <caomengyuan2015@163.com>
This commit is contained in:
parent
868e504326
commit
3d00eb1936
|
@ -3,14 +3,18 @@ const path = require('path');
|
|||
const env = process.env.NODE_ENV;
|
||||
console.log(env);
|
||||
export default defineConfig({
|
||||
locales: [
|
||||
{ id: 'zh', name: '中文' },
|
||||
{ id: 'en', name: 'English' },
|
||||
],
|
||||
|
||||
locales: [{ id: 'zh', name: '中文' }, { id: 'en', name: 'English' }],
|
||||
copy: env ==='production' ? ['docs/CNAME'] : [],
|
||||
themeConfig: {
|
||||
title: 'L7',
|
||||
isAntVSite: false,
|
||||
internalSite: {
|
||||
url: 'https://l7.antv.antgroup.com',
|
||||
name: {
|
||||
zh: '国内镜像',
|
||||
en: 'China Mirror',
|
||||
},
|
||||
},
|
||||
description:
|
||||
'Large-scale WebGL-powered Geospatial data visualization analysis framework',
|
||||
siteUrl: 'https://l7.antv.antgroup.com/',
|
||||
|
@ -49,7 +53,7 @@ export default defineConfig({
|
|||
},
|
||||
],
|
||||
},
|
||||
msfu: true,
|
||||
msfu:false,
|
||||
features: [
|
||||
{
|
||||
icon:
|
||||
|
@ -611,45 +615,32 @@ export default defineConfig({
|
|||
indexName: 'antv_l7',
|
||||
},
|
||||
},
|
||||
extraBabelPlugins:
|
||||
env === 'development'
|
||||
? [
|
||||
// 开发模式下以原始文本引入,便于调试
|
||||
[
|
||||
// import glsl as raw text
|
||||
'babel-plugin-inline-import',
|
||||
{ extensions: ['.glsl', '.worker.js'] },
|
||||
],
|
||||
// ['transform-import-css-l7'],
|
||||
]
|
||||
: [],
|
||||
extraBabelPlugins:[
|
||||
// 开发模式下以原始文本引入,便于调试
|
||||
[
|
||||
// import glsl as raw text
|
||||
'babel-plugin-inline-import',
|
||||
{ extensions: ['.glsl','.worker.js'] },
|
||||
],
|
||||
// ['transform-import-css-l7'],
|
||||
],
|
||||
links: [],
|
||||
scripts: [
|
||||
'https://webapi.amap.com/maps?v=2.0&key=ff533602d57df6f8ab3b0fea226ae52f',
|
||||
],
|
||||
internalSite: {
|
||||
url: 'https://s2.antv.antgroup.com',
|
||||
name: {
|
||||
zh: '国内镜像',
|
||||
en: 'China Mirror',
|
||||
},
|
||||
},
|
||||
alias:
|
||||
env === 'development'
|
||||
? {
|
||||
'@antv/l7': path.resolve(__dirname, '../l7/src'),
|
||||
'@antv/l7-mini': path.resolve(__dirname, '../mini/src'),
|
||||
'@antv/l7-maps/lib/map': path.resolve(__dirname, '../maps/src/map'),
|
||||
'@antv/l7-core': path.resolve(__dirname, '../core/src'),
|
||||
'@antv/l7-component': path.resolve(__dirname, '../component/src'),
|
||||
'@antv/l7-three': path.resolve(__dirname, '../three/src'),
|
||||
'@antv/l7-layers': path.resolve(__dirname, '../layers/src'),
|
||||
'@antv/l7-map': path.resolve(__dirname, '../map/src'),
|
||||
'@antv/l7-maps': path.resolve(__dirname, '../maps/src'),
|
||||
'@antv/l7-renderer': path.resolve(__dirname, '../renderer/src'),
|
||||
'@antv/l7-scene': path.resolve(__dirname, '../scene/src'),
|
||||
'@antv/l7-source': path.resolve(__dirname, '../source/src'),
|
||||
'@antv/l7-utils': path.resolve(__dirname, '../utils/src'),
|
||||
}
|
||||
: {},
|
||||
alias: {
|
||||
'@antv/l7': path.resolve(__dirname, '../l7/src'),
|
||||
'@antv/l7-mini': path.resolve(__dirname, '../mini/src'),
|
||||
'@antv/l7-maps/lib/map': path.resolve(__dirname, '../maps/src/map'),
|
||||
'@antv/l7-core': path.resolve(__dirname, '../core/src'),
|
||||
'@antv/l7-component': path.resolve(__dirname, '../component/src'),
|
||||
'@antv/l7-three': path.resolve(__dirname, '../three/src'),
|
||||
'@antv/l7-layers': path.resolve(__dirname, '../layers/src'),
|
||||
'@antv/l7-map': path.resolve(__dirname, '../map/src'),
|
||||
'@antv/l7-maps': path.resolve(__dirname, '../maps/src'),
|
||||
'@antv/l7-renderer': path.resolve(__dirname, '../renderer/src'),
|
||||
'@antv/l7-scene': path.resolve(__dirname, '../scene/src'),
|
||||
'@antv/l7-source': path.resolve(__dirname, '../source/src'),
|
||||
'@antv/l7-utils': path.resolve(__dirname, '../utils/src')
|
||||
}
|
||||
});
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
l7.antv.vision
|
|
@ -7,7 +7,7 @@ order: 0
|
|||
|
||||
# L7 地理空间数据可视分析引擎
|
||||
|
||||
✨ 2022.06.28 2.9 版本正式发布
|
||||
✨ 2022.11.22 2.10 版本正式发布
|
||||
|
||||
⚠️ 1.x 版本的用户需求我们持续跟进 [旧版官网地址](https://antv-2018.alipay.com/zh-cn/l7/1.x/index.html)
|
||||
|
||||
|
|
|
@ -27,19 +27,16 @@
|
|||
"site:clean": "rm -rf ./dumi/tmp && rm -rf ./dumi/tmp-production && rm -rf .umi/ && rm rf ./dist",
|
||||
"lint:fix": "prettier --write docs/api/**/*.md docs/api/*.md *.md",
|
||||
"build": "yarn site:build",
|
||||
"site:deploy": "npm run site:build && gh-pages -d public",
|
||||
"site:deploy": "npm run site:build && gh-pages -d dist",
|
||||
"site:develop": "dumi dev",
|
||||
"site:build": "dumi build",
|
||||
"start": "npm run site:develop",
|
||||
"site:publish": "gh-pages -d public"
|
||||
"site:publish": "gh-pages -d dist"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antv/dumi-theme-antv": "^0.3.0",
|
||||
"@antv/g2": "^4.2.8",
|
||||
"@antv/l7": "2.11.1",
|
||||
"@antv/l7-draw": "^3.0.9",
|
||||
"@antv/l7-maps": "2.11.1",
|
||||
"@antv/l7-three": "2.11.1",
|
||||
"@antv/l7plot": "^0.3.3",
|
||||
"@antv/util": "^2.0.9",
|
||||
"@turf/turf": "^6.5.0",
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
l7.antv.vision
|
|
@ -0,0 +1,12 @@
|
|||
<html>
|
||||
<head>
|
||||
<script>
|
||||
window.location.replace('https://l7.antv.antgroup.com/')
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>L7 官网</h1>
|
||||
新官网迁移至 https://l7.antv.antgroup.com/ 访问速度更快
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue