Skip to content

Commit 3591ba4

Browse files
authored
update for 1.3.1 and prepare for 1.3.2 (#662)
* update for 1.3.1 and prepare for 1.3.2 * fix path * add redirect
1 parent 6822eab commit 3591ba4

File tree

940 files changed

+106030
-6233
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

940 files changed

+106030
-6233
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
</p>
1313

1414
<p align="center">
15-
<a href="https://linkis.apache.org/docs/latest/introduction/" >
15+
<a href="https://linkis.apache.org/docs/latest/about/introduction/" >
1616
<img src="https://img.shields.io/badge/document-English-blue.svg" alt="EN docs" />
1717
</a>
18-
<a href="https://linkis.apache.org/zh-CN/docs/latest/introduction/">
18+
<a href="https://linkis.apache.org/zh-CN/docs/latest/about/introduction/">
1919
<img src="https://img.shields.io/badge/文档-简体中文-blue.svg" alt="简体中文文档" />
2020
</a>
2121
</p>

README_ZH.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
</p>
1111

1212
<p align="center">
13-
<a href="https://linkis.apache.org/docs/latest/introduction/" >
13+
<a href="https://linkis.apache.org/docs/latest/about/introduction/" >
1414
<img src="https://img.shields.io/badge/document-English-blue.svg" alt="EN docs" />
1515
</a>
16-
<a href="https://linkis.apache.org/zh-CN/docs/latest/introduction/">
16+
<a href="https://linkis.apache.org/zh-CN/docs/latest/about/introduction/">
1717
<img src="https://img.shields.io/badge/文档-简体中文-blue.svg" alt="简体中文文档" />
1818
</a>
1919
</p>

blog/2022-02-21-linkis-deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,5 +542,5 @@ Linkis official website documents are constantly improving, you can view/keyword
542542
Related blog post links
543543
- Linkis technical blog collection https://github.com/apache/linkis/issues/1233
544544
- Official account technical blog post https://mp.weixin.qq.com/mp/homepage?__biz=MzI4MDkxNzUxMg==&hid=1&sn=088cbf2bbed1c80d003c5865bc92ace8&scene=18
545-
- Official website documentation https://linkis.apache.org/docs/latest/introduction/
545+
- Official website documentation https://linkis.apache.org/docs/latest/about/introduction/
546546
- bili technology sharing video https://space.bilibili.com/598542776?spm_id_from=333.788.b_765f7570696e666f.2

community/how-to-contribute.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Helping answering the questions in the Linkis community is a very valuable way t
2020

2121
### 1.4 Documentation refinements
2222

23-
You can find linkis documentations at [linkis-Website](https://linkis.apache.org/docs/latest/introduction), and the supplement of the document is also crucial to the development of Linkis.
23+
You can find linkis documentations at [linkis-Website](https://linkis.apache.org/docs/latest/about/introduction), and the supplement of the document is also crucial to the development of Linkis.
2424

2525
### 1.5 Other
2626
Including participating in and helping to organize community exchanges, community operation activities, etc., and other activities that can help the Linkis project and the community.

docs/deployment/deploy-quick.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -651,5 +651,5 @@ Linkis official website documents are constantly improving, you can view/keyword
651651
Related blog post links
652652
- Linkis technical blog collection https://github.com/apache/linkis/issues/1233
653653
- Technical blog post on the official account https://mp.weixin.qq.com/mp/homepage?__biz=MzI4MDkxNzUxMg==&hid=1&sn=088cbf2bbed1c80d003c5865bc92ace8&scene=18
654-
- Official website documentation https://linkis.apache.org/docs/latest/introduction
654+
- Official website documentation https://linkis.apache.org/docs/latest/about/introduction
655655
- bili technology sharing video https://space.bilibili.com/598542776?spm_id_from=333.788.b_765f7570696e666f.2

docusaurus.config.js

+15-7
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
4141
editUrl: 'https://github.com/apache/linkis-website/edit/dev/',
4242
versions: {
4343
current: {
44-
path: '1.3.1',
45-
label: 'Next(1.3.1)'
44+
path: '1.3.2',
45+
label: 'Next(1.3.2)'
4646
},
47-
'1.3.0': {
47+
'1.3.1': {
4848
path: 'latest',
4949
},
5050
}
@@ -161,10 +161,11 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
161161
label: 'Doc',
162162
position: 'right',
163163
items: [
164-
{label: '1.3.0', to: '/docs/latest/introduction'},
164+
{label: '1.3.1', to: '/docs/latest/about/introduction'},
165+
{label: '1.3.0', to: '/docs/1.3.0/introduction'},
165166
{label: '1.2.0', to: '/docs/1.2.0/introduction'},
166167
{label: '1.1.1', to: '/docs/1.1.1/introduction'},
167-
{label: 'Next(1.3.1)', to: '/docs/1.3.1/about/introduction'},
168+
{label: 'Next(1.3.2)', to: '/docs/1.3.2/about/introduction'},
168169
{label: 'All Version', to: '/versions'}
169170
]
170171
},
@@ -219,7 +220,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
219220
title: 'Linkis',
220221
items: [{
221222
label: 'Document',
222-
href: '/docs/latest/introduction',
223+
href: '/docs/latest/about/introduction',
223224
},
224225
{
225226
label: 'FAQ',
@@ -344,10 +345,17 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
344345
[
345346
'@docusaurus/plugin-client-redirects',
346347
{
348+
redirects: [
349+
// /docs/1.3.1/introduction -> /docs/1.3.1/about/introduction
350+
{
351+
from: '/docs/latest/introduction',
352+
to: '/docs/latest/about/introduction',
353+
}
354+
],
347355
createRedirects(existingPath) {
348356
if (existingPath.includes('/latest')) {
349357
return [
350-
existingPath.replace('/latest', '/1.3.0'),
358+
existingPath.replace('/latest', '/1.3.1'),
351359
];
352360
}
353361
return undefined; // Return a false value: no redirect created

download/main.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Use the links below to download the Apache Linkis Releases, the latest release i
99

1010
| Version | Release Date | Source | Binary | Web Binary | Release Notes |
1111
|----------------------------------------------|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|
12+
| 1.3.1 | 2023-01-18 | [[Source](https://downloads.apache.org/linkis/release-1.3.1/apache-linkis-1.3.1-src.tar.gz)] [[Sign](https://downloads.apache.org/linkis/release-1.3.1/apache-linkis-1.3.1-src.tar.gz.asc)] [[SHA512](https://downloads.apache.org/linkis/release-1.3.1/apache-linkis-1.3.1-src.tar.gz.sha512)] | [[Binary](https://downloads.apache.org/linkis/release-1.3.1/apache-linkis-1.3.1-bin.tar.gz)] [[Sign](https://downloads.apache.org/linkis/release-1.3.1/apache-linkis-1.3.1-bin.tar.gz.asc) ][[SHA512](https://downloads.apache.org/linkis/release-1.3.1/apache-linkis-1.3.1-bin.tar.gz.sha512)] | [[Binary](https://downloads.apache.org/linkis/release-1.3.1/apache-linkis-1.3.1-web-bin.tar.gz)] [[Sign](https://downloads.apache.org/linkis/release-1.3.1/apache-linkis-1.3.1-web-bin.tar.gz.asc)] [[SHA512](https://downloads.apache.org/linkis/release-1.3.1/apache-linkis-1.3.1-web-bin.tar.gz.sha512)] | [Release-Notes](release-notes-1.3.1.md) |
1213
| 1.3.0 | 2022-10-25 | [[Source](https://www.apache.org/dyn/closer.lua/incubator/linkis/release-1.3.0/apache-linkis-1.3.0-incubating-src.tar.gz)] [[Sign](https://downloads.apache.org/incubator/linkis/release-1.3.0/apache-linkis-1.3.0-incubating-src.tar.gz.asc)] [[SHA512](https://downloads.apache.org/incubator/linkis/release-1.3.0/apache-linkis-1.3.0-incubating-src.tar.gz.sha512)] | [[Binary](https://www.apache.org/dyn/closer.lua/incubator/linkis/release-1.3.0/apache-linkis-1.3.0-incubating-bin.tar.gz)] [[Sign](https://downloads.apache.org/incubator/linkis/release-1.3.0/apache-linkis-1.3.0-incubating-bin.tar.gz.asc) ][[SHA512](https://downloads.apache.org/incubator/linkis/release-1.3.0/apache-linkis-1.3.0-incubating-bin.tar.gz.sha512)] | [[Binary](https://www.apache.org/dyn/closer.lua/incubator/linkis/release-1.3.0/apache-linkis-1.3.0-incubating-web-bin.tar.gz)] [[Sign](https://downloads.apache.org/incubator/linkis/release-1.3.0/apache-linkis-1.3.0-incubating-web-bin.tar.gz.asc )] [[SHA512](https://downloads.apache.org/incubator/linkis/release-1.3.0/apache-linkis-1.3.0-incubating-web-bin.tar.gz.sha512)] | [Release-Notes](release-notes-1.3.0.md) |
1314
| 1.2.0 | 2022-09-05 | [[Source](https://www.apache.org/dyn/closer.lua/incubator/linkis/release-1.2.0/apache-linkis-1.2.0-incubating-src.tar.gz)] [[Sign](https://downloads.apache.org/incubator/linkis/release-1.2.0/apache-linkis-1.2.0-incubating-src.tar.gz.asc)] [[SHA512](https://downloads.apache.org/incubator/linkis/release-1.2.0/apache-linkis-1.2.0-incubating-src.tar.gz.sha512)] | [[Binary](https://www.apache.org/dyn/closer.lua/incubator/linkis/release-1.2.0/apache-linkis-1.2.0-incubating-bin.tar.gz)] [[Sign](https://downloads.apache.org/incubator/linkis/release-1.2.0/apache-linkis-1.2.0-incubating-bin.tar.gz.asc) ][[SHA512](https://downloads.apache.org/incubator/linkis/release-1.2.0/apache-linkis-1.2.0-incubating-bin.tar.gz.sha512)] | [[Binary](https://www.apache.org/dyn/closer.lua/incubator/linkis/release-1.2.0/apache-linkis-1.2.0-incubating-web-bin.tar.gz)] [[Sign](https://downloads.apache.org/incubator/linkis/release-1.2.0/apache-linkis-1.2.0-incubating-web-bin.tar.gz.asc )] [[SHA512](https://downloads.apache.org/incubator/linkis/release-1.2.0/apache-linkis-1.2.0-incubating-web-bin.tar.gz.sha512)] | [Release-Notes](release-notes-1.2.0.md) |
1415
| 1.1.3 | 2022-08-01 | [[Source](https://www.apache.org/dyn/closer.lua/incubator/linkis/release-1.1.3/apache-linkis-1.1.3-incubating-src.tar.gz)] [[Sign](https://downloads.apache.org/incubator/linkis/release-1.1.3/apache-linkis-1.1.3-incubating-src.tar.gz.asc)] [[SHA512](https://downloads.apache.org/incubator/linkis/release-1.1.3/apache-linkis-1.1.3-incubating-src.tar.gz.sha512)] | [[Binary](https://www.apache.org/dyn/closer.lua/incubator/linkis/release-1.1.3/apache-linkis-1.1.3-incubating-bin.tar.gz)] [[Sign](https://downloads.apache.org/incubator/linkis/release-1.1.3/apache-linkis-1.1.3-incubating-bin.tar.gz.asc) ][[SHA512](https://downloads.apache.org/incubator/linkis/release-1.1.3/apache-linkis-1.1.3-incubating-bin.tar.gz.sha512)] | [[Binary](https://www.apache.org/dyn/closer.lua/incubator/linkis/release-1.1.3/apache-linkis-1.1.3-incubating-web-bin.tar.gz)] [[Sign](https://downloads.apache.org/incubator/linkis/release-1.1.3/apache-linkis-1.1.3-incubating-web-bin.tar.gz.asc )] [[SHA512](https://downloads.apache.org/incubator/linkis/release-1.1.3/apache-linkis-1.1.3-incubating-web-bin.tar.gz.sha512)] | [Release-Notes](release-notes-1.1.3.md) |

download/release-notes-1.3.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Release Notes 1.3.1-RC2
2+
title: Release Notes 1.3.1
33
sidebar_position: 0.16
44
---
55

i18n/zh-CN/docusaurus-plugin-content-blog/2022-02-21-linkis-deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ linkis官网文档正在不断的完善,可以在本官网查看/关键字搜索
577577
相关博文链接
578578
- Linkis的技术博文集 https://github.com/apache/linkis/issues/1233
579579
- 公众号技术博文https://mp.weixin.qq.com/mp/homepage?__biz=MzI4MDkxNzUxMg==&hid=1&sn=088cbf2bbed1c80d003c5865bc92ace8&scene=18
580-
- 官网文档 https://linkis.apache.org/zh-CN/docs/latest/introduction
580+
- 官网文档 https://linkis.apache.org/zh-CN/docs/latest/about/introduction
581581
- bili技术分享视频 https://space.bilibili.com/598542776?spm_id_from=333.788.b_765f7570696e666f.2
582582
583583

i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-contribute.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sidebar_position: 2
2828

2929
### 1.4 文档改进
3030

31-
Linkis 文档位于[Linkis官网](https://linkis.apache.org/zh-CN/docs/latest/introduction/) ,文档的补充完善对于Linkis 的发展也至关重要。
31+
Linkis 文档位于[Linkis官网](https://linkis.apache.org/zh-CN/docs/latest/about/introduction/) ,文档的补充完善对于Linkis 的发展也至关重要。
3232

3333
### 1.5 其他
3434
包括参与和帮助组织社区交流、社区运营活动等,其他能够帮助Linkis 项目和社区的活动。

i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md

+59
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,65 @@ svn co https://svn.apache.org/repos/asf/public/trunk/content/projects/
844844
845845
https://incubator.apache.org/clutch/linkis.html
846846
847+
## 9 官网对应版本文档的发布
848+
849+
创建新版本,基于当前的版本 创建要发布版本
850+
851+
### step1 存档${publish_version}版本文档
852+
```shell
853+
npm install
854+
npm run docusaurus docs:version ${publish_version}
855+
```
856+
### step2 拷贝中文新版本文档
857+
```shell
858+
cd i18n/zh-CN/docusaurus-plugin-content-docs
859+
cp -r current version-${publish_version}
860+
cp -r current.json version-${publish_version}.json
861+
```
862+
### step3 修改 version.label
863+
```shell
864+
# current.json 文件修改如下
865+
"message": "Next(${publish_version})" --> "message": "Next(${next_version})"
866+
867+
# version-${publish_version}.json 文件修改如下
868+
"message": "Next(${publish_version})", --> "message": "${publish_version}"
869+
```
870+
871+
### 修改配置 docusaurus.config.js
872+
```json
873+
versions: {
874+
current: {
875+
path: '1.2.0',
876+
label: 'Next(1.2.0)'
877+
},
878+
'1.1.1': {
879+
path: 'latest',
880+
},
881+
}
882+
->
883+
versions: {
884+
current: {
885+
path: '1.1.3',
886+
label: 'Next(1.1.3)'
887+
},
888+
'1.2.0': {
889+
path: 'latest',
890+
},
891+
}
892+
893+
items: [
894+
//增加
895+
{label: '${publish_version}', to: '/docs/latest/about/introduction'},
896+
//修改
897+
{label: '${current_version}', to: '/docs/latest/about/introduction'},
898+
-->
899+
{label: '${current_version}', to: '/docs/${current_version}/about/introduction'},
900+
//修改
901+
{label: 'Next(${publish_version})', to: '/docs/${publish_version}/about/introduction'},
902+
-->
903+
{label: 'Next(${next_version})', to: '/docs/${next_version}/about/introduction'},
904+
]
905+
```
847906
848907
## 附录
849908
### 附件1 release.sh

0 commit comments

Comments
 (0)