This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-seatunnel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 6871ce08ad [Hotfix][Docs] Fix home page link (#189)
6871ce08ad is described below
commit 6871ce08ad37ca11df615ab2df81c48f87d7dfdc
Author: Tyrantlucifer <[email protected]>
AuthorDate: Fri Dec 30 17:04:40 2022 +0800
[Hotfix][Docs] Fix home page link (#189)
---
docusaurus.config.js | 2 +-
src/pages/home/index.jsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 86ef9bb7c5..ea1adb37b6 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -92,7 +92,7 @@ const config = {
items: [
...versions.slice(0, versions.length -
2).map((version) => ({
label: version,
- to: `docs/${version}/intro/about`,
+ to: (version >= '2.3.0') ? `docs/${version}/about`
: `docs/${version}/intro/about`,
})),
...versions.slice(versions.length - 2,
versions.length).map((version) => ({
label: (version === "1.x") ? "1.x(Not Apache
Release)" : version,
diff --git a/src/pages/home/index.jsx b/src/pages/home/index.jsx
index a460827e57..8d91d2d21d 100644
--- a/src/pages/home/index.jsx
+++ b/src/pages/home/index.jsx
@@ -33,7 +33,7 @@ export default function () {
<div className="button_row center">
{/* TODO next release should be change to
/category/start */}
- <a href={'/docs/' + versions[0] + '/intro/about'}
className="corner_button blue_fill">{dataSource.common.getStart}</a>
+ <a href={'/docs/' + versions[0] + '/about'}
className="corner_button blue_fill">{dataSource.common.getStart}</a>
<a href={systemConfiguration.github.projectUrl}
target="_blank"
className="corner_button blue" onMouseOver={()
=> changeFlag(1)} onMouseOut={() => changeFlag(2)}>
<img className="button_icon github1"
src={useBaseUrl('/home/icons/github' + flag + '.svg')} alt="github"/>