Skip to content

Commit

Permalink
update for 1.3.1 and prepare for 1.3.2 (#662)
Browse files Browse the repository at this point in the history
* update for 1.3.1 and prepare for 1.3.2

* fix path

* add redirect
  • Loading branch information
aiceflower authored Jan 18, 2023
1 parent 6822eab commit 3591ba4
Show file tree
Hide file tree
Showing 940 changed files with 106,030 additions and 6,233 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
</p>

<p align="center">
<a href="https://linkis.apache.org/docs/latest/introduction/" >
<a href="https://linkis.apache.org/docs/latest/about/introduction/" >
<img src="https://img.shields.io/badge/document-English-blue.svg" alt="EN docs" />
</a>
<a href="https://linkis.apache.org/zh-CN/docs/latest/introduction/">
<a href="https://linkis.apache.org/zh-CN/docs/latest/about/introduction/">
<img src="https://img.shields.io/badge/文档-简体中文-blue.svg" alt="简体中文文档" />
</a>
</p>
Expand Down
4 changes: 2 additions & 2 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
</p>

<p align="center">
<a href="https://linkis.apache.org/docs/latest/introduction/" >
<a href="https://linkis.apache.org/docs/latest/about/introduction/" >
<img src="https://img.shields.io/badge/document-English-blue.svg" alt="EN docs" />
</a>
<a href="https://linkis.apache.org/zh-CN/docs/latest/introduction/">
<a href="https://linkis.apache.org/zh-CN/docs/latest/about/introduction/">
<img src="https://img.shields.io/badge/文档-简体中文-blue.svg" alt="简体中文文档" />
</a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion blog/2022-02-21-linkis-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,5 +542,5 @@ Linkis official website documents are constantly improving, you can view/keyword
Related blog post links
- Linkis technical blog collection https://github.com/apache/linkis/issues/1233
- Official account technical blog post https://mp.weixin.qq.com/mp/homepage?__biz=MzI4MDkxNzUxMg==&hid=1&sn=088cbf2bbed1c80d003c5865bc92ace8&scene=18
- Official website documentation https://linkis.apache.org/docs/latest/introduction/
- Official website documentation https://linkis.apache.org/docs/latest/about/introduction/
- bili technology sharing video https://space.bilibili.com/598542776?spm_id_from=333.788.b_765f7570696e666f.2
2 changes: 1 addition & 1 deletion community/how-to-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Helping answering the questions in the Linkis community is a very valuable way t

### 1.4 Documentation refinements

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.
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.

### 1.5 Other
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.
Expand Down
2 changes: 1 addition & 1 deletion docs/deployment/deploy-quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -651,5 +651,5 @@ Linkis official website documents are constantly improving, you can view/keyword
Related blog post links
- Linkis technical blog collection https://github.com/apache/linkis/issues/1233
- Technical blog post on the official account https://mp.weixin.qq.com/mp/homepage?__biz=MzI4MDkxNzUxMg==&hid=1&sn=088cbf2bbed1c80d003c5865bc92ace8&scene=18
- Official website documentation https://linkis.apache.org/docs/latest/introduction
- Official website documentation https://linkis.apache.org/docs/latest/about/introduction
- bili technology sharing video https://space.bilibili.com/598542776?spm_id_from=333.788.b_765f7570696e666f.2
22 changes: 15 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
editUrl: 'https://github.com/apache/linkis-website/edit/dev/',
versions: {
current: {
path: '1.3.1',
label: 'Next(1.3.1)'
path: '1.3.2',
label: 'Next(1.3.2)'
},
'1.3.0': {
'1.3.1': {
path: 'latest',
},
}
Expand Down Expand Up @@ -161,10 +161,11 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
label: 'Doc',
position: 'right',
items: [
{label: '1.3.0', to: '/docs/latest/introduction'},
{label: '1.3.1', to: '/docs/latest/about/introduction'},
{label: '1.3.0', to: '/docs/1.3.0/introduction'},
{label: '1.2.0', to: '/docs/1.2.0/introduction'},
{label: '1.1.1', to: '/docs/1.1.1/introduction'},
{label: 'Next(1.3.1)', to: '/docs/1.3.1/about/introduction'},
{label: 'Next(1.3.2)', to: '/docs/1.3.2/about/introduction'},
{label: 'All Version', to: '/versions'}
]
},
Expand Down Expand Up @@ -219,7 +220,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
title: 'Linkis',
items: [{
label: 'Document',
href: '/docs/latest/introduction',
href: '/docs/latest/about/introduction',
},
{
label: 'FAQ',
Expand Down Expand Up @@ -344,10 +345,17 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
// /docs/1.3.1/introduction -> /docs/1.3.1/about/introduction
{
from: '/docs/latest/introduction',
to: '/docs/latest/about/introduction',
}
],
createRedirects(existingPath) {
if (existingPath.includes('/latest')) {
return [
existingPath.replace('/latest', '/1.3.0'),
existingPath.replace('/latest', '/1.3.1'),
];
}
return undefined; // Return a false value: no redirect created
Expand Down
1 change: 1 addition & 0 deletions download/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Use the links below to download the Apache Linkis Releases, the latest release i

| Version | Release Date | Source | Binary | Web Binary | Release Notes |
|----------------------------------------------|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|
| 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) |
| 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) |
| 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) |
| 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) |
Expand Down
2 changes: 1 addition & 1 deletion download/release-notes-1.3.1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Release Notes 1.3.1-RC2
title: Release Notes 1.3.1
sidebar_position: 0.16
---

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

### 1.4 文档改进

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

### 1.5 其他
包括参与和帮助组织社区交流、社区运营活动等,其他能够帮助Linkis 项目和社区的活动。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,65 @@ svn co https://svn.apache.org/repos/asf/public/trunk/content/projects/
https://incubator.apache.org/clutch/linkis.html
## 9 官网对应版本文档的发布
创建新版本,基于当前的版本 创建要发布版本
### step1 存档${publish_version}版本文档
```shell
npm install
npm run docusaurus docs:version ${publish_version}
```
### step2 拷贝中文新版本文档
```shell
cd i18n/zh-CN/docusaurus-plugin-content-docs
cp -r current version-${publish_version}
cp -r current.json version-${publish_version}.json
```
### step3 修改 version.label
```shell
# current.json 文件修改如下
"message": "Next(${publish_version})" --> "message": "Next(${next_version})"
# version-${publish_version}.json 文件修改如下
"message": "Next(${publish_version})", --> "message": "${publish_version}"
```
### 修改配置 docusaurus.config.js
```json
versions: {
current: {
path: '1.2.0',
label: 'Next(1.2.0)'
},
'1.1.1': {
path: 'latest',
},
}
->
versions: {
current: {
path: '1.1.3',
label: 'Next(1.1.3)'
},
'1.2.0': {
path: 'latest',
},
}
items: [
//增加
{label: '${publish_version}', to: '/docs/latest/about/introduction'},
//修改
{label: '${current_version}', to: '/docs/latest/about/introduction'},
-->
{label: '${current_version}', to: '/docs/${current_version}/about/introduction'},
//修改
{label: 'Next(${publish_version})', to: '/docs/${publish_version}/about/introduction'},
-->
{label: 'Next(${next_version})', to: '/docs/${next_version}/about/introduction'},
]
```
## 附录
### 附件1 release.sh
Expand Down
Loading

0 comments on commit 3591ba4

Please sign in to comment.