Skip to content

Commit

Permalink
Version hidden by commenting the labels (#761)
Browse files Browse the repository at this point in the history
* Version hidden

* Apache Linkis All Document Versions updated

* layout height increased to 1100

* next version 1.5.0 updated

* verisons retained
  • Loading branch information
Rajrits authored Oct 25, 2023
1 parent a5fe722 commit e34e050
Show file tree
Hide file tree
Showing 5 changed files with 6,294 additions and 6,263 deletions.
8 changes: 4 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
items: [
{label: '1.4.0', to: '/docs/latest/about/introduction'},
{label: '1.3.2', to: '/docs/1.3.2/about/introduction'},
{label: '1.3.1', to: '/docs/1.3.1/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: '1.3.1', to: '/docs/1.3.1/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.5.0)', to: '/docs/1.5.0/about/introduction'},
{label: 'All Version', to: '/versions'}
]
Expand Down
72 changes: 54 additions & 18 deletions src/pages/versions/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,37 @@
"release": "Release Note",
"latestData": [
{
"versionLabel": "1.3.0",
"downloadUrl": "/zh-CN/download/release-notes-1.3.0",
"versionLabel": "1.4.0",
"downloadUrl": "/zh-CN/download/release-notes-1.4.0",
"docUrl": "/zh-CN/docs/latest/about/introduction",
"sourceTag":"1.3.0"
"sourceTag":"1.4.0"
},
{
"versionLabel": "1.3.2",
"downloadUrl": "/zh-CN/download/release-notes-1.3.2",
"docUrl": "/zh-CN/docs/1.3.2/about/introduction",
"sourceTag":"1.3.2"
}
],
"nextData": [
{
"versionLabel": "Next-1.3.1(WIP)",
"docUrl": "/zh-CN/docs/1.3.1/about/introduction"
"versionLabel": "Next-1.5.0(WIP)",
"docUrl": "/zh-CN/docs/1.5.0/about/introduction"
}
],
"historyData": [
{
"versionLabel": "1.3.1",
"downloadUrl": "/zh-CN/download/release-notes-1.3.1",
"docUrl": "/zh-CN/docs/1.3.1/about/introduction",
"sourceTag": "1.3.1"
},
{
"versionLabel": "1.3.0",
"downloadUrl": "/zh-CN/download/release-notes-1.3.0",
"docUrl": "/zh-CN/docs/1.3.0/about/introduction",
"sourceTag":"1.3.0"
},
{
"versionLabel": "1.2.0",
"downloadUrl": "/zh-CN/download/release-notes-1.2.0",
Expand Down Expand Up @@ -91,64 +109,82 @@
"release": "Release Note",
"latestData": [
{
"versionLabel": "1.3.0",
"versionLabel": "1.4.0",
"docUrl": "/docs/latest/about/introduction",
"releaseNotes": "/download/release-notes-1.3.0",
"sourceTag":"1.3.0"
"downloadUrl": "/download/release-notes-1.4.0",
"sourceTag":"1.4.0"
},
{
"versionLabel": "1.3.2",
"docUrl": "/docs/1.3.2/about/introduction",
"downloadUrl": "/download/release-notes-1.3.2",
"sourceTag":"1.3.2"
}
],
"nextData": [
{
"versionLabel": "Next-1.3.1(WIP)",
"docUrl": "/docs/1.3.1/about/introduction"
"versionLabel": "Next-1.5.0(WIP)",
"docUrl": "/docs/1.5.0/about/introduction"
}
],
"historyData": [
{
"versionLabel": "1.3.1",
"docUrl": "/docs/1.3.1/about/introduction",
"downloadUrl": "/download/release-notes-1.3.1",
"sourceTag":"1.3.1"
},
{
"versionLabel": "1.3.0",
"docUrl": "/docs/1.3.0/introduction",
"downloadUrl": "/download/release-notes-1.3.0",
"sourceTag":"1.3.0"
},
{
"versionLabel": "1.2.0",
"docUrl": "/docs/1.2.0/introduction",
"releaseNotes": "/download/release-notes-1.2.0",
"downloadUrl": "/download/release-notes-1.2.0",
"sourceTag":"1.2.0"
},
{
"versionLabel": "1.1.3",
"docUrl": "/docs/1.1.3/introduction",
"releaseNotes": "/download/release-notes-1.1.3",
"downloadUrl": "/download/release-notes-1.1.3",
"sourceTag":"1.1.3"
},
{
"versionLabel": "1.1.2",
"docUrl": "/docs/1.1.2/introduction",
"releaseNotes": "/download/release-notes-1.1.2",
"downloadUrl": "/download/release-notes-1.1.2",
"sourceTag":"1.1.2"
},
{
"versionLabel": "1.1.1",
"docUrl": "/docs/1.1.1/introduction",
"releaseNotes": "/download/release-notes-1.1.1",
"downloadUrl": "/download/release-notes-1.1.1",
"sourceTag":"1.1.1"
},
{
"versionLabel": "1.1.0",
"docUrl": "/docs/1.1.0/introduction",
"releaseNotes": "/download/release-notes-1.1.0",
"downloadUrl": "/download/release-notes-1.1.0",
"sourceTag":"release-1.1.0"
},
{
"versionLabel": "1.0.3",
"docUrl": "/docs/1.0.3/introduction",
"releaseNotes": "/download/release-notes-1.0.3",
"downloadUrl": "/download/release-notes-1.0.3",
"sourceTag":"release-1.0.3"
},
{
"versionLabel": "1.0.2",
"releaseNotes": "/download/release-notes-1.0.2",
"downloadUrl": "/download/release-notes-1.0.2",
"docUrl": "/docs/1.0.2/introduction",
"sourceTag":"1.0.2"
},
{
"versionLabel": "0.11.0",
"releaseNotes": "https://github.com/apache/linkis/releases/tag/0.11.0",
"downloadUrl": "https://github.com/apache/linkis/releases/tag/0.11.0",
"docUrl": "/docs/0.11.0/introduction",
"sourceTag":"0.11.0"
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/versions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function() {
<div className={styles['divone']}><br/>
<h1>{dataSource.title}</h1>
<br/>
<h3>{dataSource.latestVersion}</h3>
{/* <h3>{dataSource.latestVersion}</h3> */}
<p>{dataSource.latestVersionExplain}</p>
<table>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/versions/index.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.divone {
width: 50%;
height: 960px;
height: 1100px;
margin: 0 auto;
}
Loading

0 comments on commit e34e050

Please sign in to comment.