Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: feat: add 3.4.4 version #126

Merged
merged 3 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cloudtower-api-doc/docs/sdks/support_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ CloudTower API SDK 支持向下兼容。即 SDK 2.9.0 最高支持至 CloudTower
| 2.17.0 | 4.3.0 | 2024.08.21 | <AddressWrapper version="2.17.0" file_version="4.3.0" node_version="2.17.0"/>|
| 2.16.0 | 4.2.0,4.2.1,4.2.2 | 2024.07.16 | <AddressWrapper version="2.16.0" file_version="4.2.0" node_version="2.16.0"/>|
| 2.15.1 | 4.1.0 | 2024.05.31 | <AddressWrapper version="2.15.1" file_version="4.1.0" node_version="2.15.0"/>|
| 2.14.0 | 3.4.1, 3.4.2, 4.0.0| 2024.01.02 | <AddressWrapper version="2.14.0" file_version="4.0.0"/>|
| 2.13.0 | 3.4.0 | 2023.11.07 | <AddressWrapper version="2.13.0" file_version="3.4.0"/>|
| 2.14.0 | 4.0.0 | 2024.01.02 | <AddressWrapper version="2.14.0" file_version="4.0.0"/>|
| 2.13.1 | 3.4.0, 3.4.1, 3.4.2, 3.4.3,3.4.4 | 2024.10.10 | <AddressWrapper version="2.13.1" file_version="3.4.4"/>|
| 2.12.0 | 3.3.0 | 2023.10.19 | <AddressWrapper version="2.12.0" file_version="3.3.0"/>|
| 2.11.0 | 3.2.0, 3.2.1 | 2023.09.01 | <AddressWrapper version="2.11.0" file_version="3.2.0"/>|
| 2.10.0 | 3.1.0 | 2023.08.01 | <AddressWrapper version="2.10.0" file_version="3.1.0"/>|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ The following are the compatible versions when upgrading with CloudTower. Versio
| 2.17.0 | 4.3.0 | 2024.08.21 | <AddressWrapper version="2.17.0" file_version="4.3.0" node_version="2.17.0"/>|
| 2.16.0 | 4.2.0,4.2.1,4.2.2 | 2024.07.16 | <AddressWrapper version="2.16.0" file_version="4.2.0" node_version="2.16.0"/>|
| 2.15.1 | 4.1.0 | 2024.05.31 | <AddressWrapper version="2.15.1" file_version="4.1.0" node_version="2.15.0"/>|
| 2.14.0 | 3.4.1, 3.4.2, 4.0.0 | 2024.01.02 | <AddressWrapper version="2.14.0" file_version="4.0.0"/>|
| 2.13.0 | 3.4.0 | 2023.11.07 | <AddressWrapper version="2.13.0" file_version="3.4.0"/>|
| 2.14.0 | 4.0.0 | 2024.01.02 | <AddressWrapper version="2.14.0" file_version="4.0.0"/>|
| 2.13.1 | 3.4.0, 3.4.1, 3.4.2, 3.4.3,3.4.4 | 2024.10.10 | <AddressWrapper version="2.13.1" file_version="3.4.4"/>|
| 2.12.0 | 3.3.0 | 2023.10.19 | <AddressWrapper version="2.12.0" file_version="3.3.0"/>|
| 2.11.0 | 3.2.0, 3.2.1 | 2023.09.01 | <AddressWrapper version="2.11.0" file_version="3.2.0"/>|
| 2.10.0 | 3.1.0 | 2023.08.01 | <AddressWrapper version="2.10.0" file_version="3.1.0"/>|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,27 @@ export default function DocsVersionDropdownNavbarItem({
type: 'html',
value: `<span class="dropdown-subtitle">${i18next.t('components.historyVersion')}</span>`
},
...items.slice(1)
...items.slice(1),
// {
// type: 'html',
// value: "<hr class=\"dropdown-separator\">"
// },
// {
// label: i18next.t('components.allVersions'),
// href: "/sdks/support_release",
// }
].map(v => {
if(v.label) {
let label = v.label;
if(v.label.startsWith('3.4')) {
label = '3.4.x LTS'
}
// if(v.href) {
// return v;
// }
return {
...v,
label: i18next.t('components.version_icu', {version: v.label})
label: i18next.t('components.version_icu', {version: label })
}
}
return v;
Expand Down
3 changes: 3 additions & 0 deletions cloudtower-api-doc/src/theme/NavbarItem/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
.dropdownOverwrite {
width: 240px;
}
// .dropdownOverwrite li:last-of-type {
// padding-bottom: 6px;
// }
.dropdownTitleOverwrite {
padding: 0.4rem var(--ifm-navbar-item-padding-horizontal)
}
Expand Down
Loading
Loading