Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b6fefb4

Browse files
sophia502zhangmo
and
zhangmo
authored
fix: 文档部署vercel (#67)
* fix: 添加徽章&用户埋点信息 * fix: json * fix: 地址修改 * fix: 修改项目引用地址 * fix: 新增loading time --------- Co-authored-by: zhangmo <zhangmo@didiglobal.com>
1 parent acf818c commit b6fefb4

File tree

19 files changed

+35
-27
lines changed

19 files changed

+35
-27
lines changed

‎.github/workflows/main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ jobs:
4444
force_orphan: true
4545
github_token: ${{ secrets.GITHUB_TOKEN }}
4646
publish_dir: ./deploy
47-
cname: docs.logic-flow.cn
47+
cname: site.logic-flow.cn

‎CNAME‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docs.logic-flow.cn
1+
site.logic-flow.cn

‎docs/en/_navbar.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- [transformModel](en/api/transformModelApi)
99
- [editConfigModel](en/api/editConfigModelApi)
1010
- [Theme](en/api/themeApi)
11-
- [Examples <i class="fa fa-external-link navbar-icon"></i>](https://logic-flow.github.io/docs/examples)
11+
- [Examples <i class="fa fa-external-link navbar-icon"></i>](https://site.logic-flow.cn/examples/)
1212
- <font>Release <i class="fa fa-caret-down navbar-icon"></i></font>
1313
- [v1.2.x](en/release/1.2)
1414
- [v1.1.x](en/release/1.1)

‎docs/en/guide/basic/node.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ LogicFlow recommends that in actual application scenarios, all nodes use custom
2929
LogicFlow is based on class inheritance to implement custom nodes, edges. Developers can inherit LogicFlow's built-in nodes and then use the object-oriented [overriding mechanism](https://baike.baidu.com/item/%E9%87%8D%E5%86%99/9355942?fr=aladdin) to override the node style-related methods to achieve the effect of customizing the node style.
3030
![logicflow-1.0-2.png](../../assets/images/logicflow-1.0-2.png)
3131

32-
> This diagram was also drawn using LogicFlow. See [graphing tools](https://docs.logic-flow.cn/demo/dist/mvp/)
32+
> This diagram was also drawn using LogicFlow. See [graphing tools](https://site.logic-flow.cn/demo/dist/mvp/)
3333
3434
## Select the base node that the custom node inherits from
3535

‎docs/en/guide/extension/adapter.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ lf.getGraphData();
110110

111111
### Example
112112

113-
<a href="https://docs.logic-flow.cn/demo/dist/examples/#/extension/adapter?from=doc" target="_blank"> Demo in CodeSandBox</a>
113+
<a href="https://site.logic-flow.cn/demo/dist/examples/#/extension/adapter?from=doc" target="_blank"> Demo in CodeSandBox</a>

‎docs/en/guide/extension/extension-insert-node-in-polyline.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Drag a node to the middle of an edge and the node will automatically become part of the middle of the edge.
66
Example: There exists a polyline E from node A to node B. Drag a node N onto the polyline E. Release the mouse when the center point of node N is exactly on the path of the polyline E. Then node N becomes an intermediate node between A and B. The original edge E will be deleted and two new polylines will be generated, A to N and N to B respectively.
77

8-
<a href="https://docs.logic-flow.cn/demo/dist/examples/#/extension/InserNodeInPolyline?from=doc" target="_blank"> Demo in CodeSandBox</a>
8+
<a href="https://site.logic-flow.cn/demo/dist/examples/#/extension/InserNodeInPolyline?from=doc" target="_blank"> Demo in CodeSandBox</a>
99

1010
## support
1111

‎docs/index.html‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
},
1616
};
1717
var Omega = Omega || config;
18+
var startTime = Math.ceil(new Date().getTime() / 1000);
1819
</script>
1920
<script
2021
crossorigin="Anonymous"
@@ -30,6 +31,9 @@
3031
<link rel="stylesheet" href="./static/buble.css" />
3132

3233
<link rel="stylesheet" href="./static/prism-tomorrow.min.css" />
34+
<link rel="preload" href="https://img.shields.io/npm/v/@logicflow/core" as="image">
35+
<link rel="preload" href="https://img.shields.io/npm/dm/@logicflow/core" as="image">
36+
<link rel="preload" href="https://img.shields.io/npm/l/@logicflow/core" as="image">
3337
</head>
3438

3539
<body>
@@ -39,7 +43,7 @@
3943
<a target="_blank" href="https://github.com/didi/LogicFlow">
4044
<i class="fa fa-github fa-lg"></i> Github
4145
</a>
42-
<a target="_blank" href="https://logic-flow.github.io/docs/examples">
46+
<a target="_blank" href="https://site.logic-flow.cn/examples/">
4347
<i class="fa fa-puzzle-piece fa-lg"></i> Examples
4448
</a>
4549
<a href="#/en/">EN</a>
@@ -119,6 +123,17 @@
119123
language: language === "zh" ? "chinese" : "english",
120124
},
121125
};
126+
const userAgent = window.navigator.userAgent;
127+
const platform = window.navigator.platform;
128+
window.onload = function() {
129+
const loadingTime = Math.ceil(new Date().getTime() / 1000) - startTime;
130+
Omega.trackEvent('tech_user_info', 'tech_urser_info', {
131+
language,
132+
userAgent,
133+
platform,
134+
loadingTime,
135+
})
136+
}
122137
</script>
123138
<script src="./static/docsify.min.js"></script>
124139
<script src="./static/countable.js"></script>

‎docs/zh/_navbar.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- [transformModel](zh/api/transformModelApi)
99
- [editConfigModel](zh/api/editConfigModelApi)
1010
- [主题](zh/api/themeApi)
11-
- [示例 <i class="fa fa-external-link navbar-icon"></i>](https://logic-flow.github.io/docs/examples)
11+
- [示例 <i class="fa fa-external-link navbar-icon"></i>](https://site.logic-flow.cn/examples/)
1212
- <font>版本发布 <i class="fa fa-caret-down navbar-icon"></i></font>
1313
- [v1.2.x](zh/release/1.2)
1414
- [v1.1.x](zh/release/1.1)

‎docs/zh/guide/basic/node.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ LogicFlow 是基于继承来实现自定义节点、边。开发者可以继承
2828

2929
![logicflow-1.0-2.png](../../assets/images/logicflow-1.0-2.png)
3030

31-
> 此图也是用 LogicFlow 画出来的。见[作图工具](https://docs.logic-flow.cn/demo/dist/mvp/)
31+
> 此图也是用 LogicFlow 画出来的。见[作图工具](https://site.logic-flow.cn/demo/dist/mvp/)
3232
3333
## 选择自定义节点继承的基础节点
3434

‎docs/zh/guide/extension/adapter.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ lf.getGraphData();
107107

108108
### 转换结果示例
109109

110-
<a href="https://docs.logic-flow.cn/demo/dist/examples/#/extension/adapter?from=doc" target="_blank"> 去 CodeSandbox 查看示例</a>
110+
<a href="https://site.logic-flow.cn/demo/dist/examples/#/extension/adapter?from=doc" target="_blank"> 去 CodeSandbox 查看示例</a>
111111

112112
## 新的BPMNAdapter
113113
### what's the difference?

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /