diff --git a/cloudtower-api-doc/docs/sdks/support_release.md b/cloudtower-api-doc/docs/sdks/support_release.md
index 4a19c0d1..3a896609 100644
--- a/cloudtower-api-doc/docs/sdks/support_release.md
+++ b/cloudtower-api-doc/docs/sdks/support_release.md
@@ -28,8 +28,8 @@ CloudTower API SDK 支持向下兼容。即 SDK 2.9.0 最高支持至 CloudTower
| 2.17.0 | 4.3.0 | 2024.08.21 | |
| 2.16.0 | 4.2.0,4.2.1,4.2.2 | 2024.07.16 | |
| 2.15.1 | 4.1.0 | 2024.05.31 | |
-| 2.14.0 | 3.4.1, 3.4.2, 4.0.0| 2024.01.02 | |
-| 2.13.0 | 3.4.0 | 2023.11.07 | |
+| 2.14.0 | 4.0.0 | 2024.01.02 | |
+| 2.13.1 | 3.4.0, 3.4.1, 3.4.2, 3.4.3,3.4.4 | 2024.10.10 | |
| 2.12.0 | 3.3.0 | 2023.10.19 | |
| 2.11.0 | 3.2.0, 3.2.1 | 2023.09.01 | |
| 2.10.0 | 3.1.0 | 2023.08.01 | |
diff --git a/cloudtower-api-doc/i18n/en/docusaurus-plugin-content-docs/current/sdks/support_release.md b/cloudtower-api-doc/i18n/en/docusaurus-plugin-content-docs/current/sdks/support_release.md
index b364164c..3fb9504e 100644
--- a/cloudtower-api-doc/i18n/en/docusaurus-plugin-content-docs/current/sdks/support_release.md
+++ b/cloudtower-api-doc/i18n/en/docusaurus-plugin-content-docs/current/sdks/support_release.md
@@ -29,8 +29,8 @@ The following are the compatible versions when upgrading with CloudTower. Versio
| 2.17.0 | 4.3.0 | 2024.08.21 | |
| 2.16.0 | 4.2.0,4.2.1,4.2.2 | 2024.07.16 | |
| 2.15.1 | 4.1.0 | 2024.05.31 | |
-| 2.14.0 | 3.4.1, 3.4.2, 4.0.0 | 2024.01.02 | |
-| 2.13.0 | 3.4.0 | 2023.11.07 | |
+| 2.14.0 | 4.0.0 | 2024.01.02 | |
+| 2.13.1 | 3.4.0, 3.4.1, 3.4.2, 3.4.3,3.4.4 | 2024.10.10 | |
| 2.12.0 | 3.3.0 | 2023.10.19 | |
| 2.11.0 | 3.2.0, 3.2.1 | 2023.09.01 | |
| 2.10.0 | 3.1.0 | 2023.08.01 | |
diff --git a/cloudtower-api-doc/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx b/cloudtower-api-doc/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx
index b54f2e84..30cd746f 100644
--- a/cloudtower-api-doc/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx
+++ b/cloudtower-api-doc/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx
@@ -62,12 +62,27 @@ export default function DocsVersionDropdownNavbarItem({
type: 'html',
value: `${i18next.t('components.historyVersion')}`
},
- ...items.slice(1)
+ ...items.slice(1),
+ {
+ type: 'html',
+ value: "
"
+ },
+ {
+ 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;
diff --git a/cloudtower-api-doc/src/theme/NavbarItem/styles.module.scss b/cloudtower-api-doc/src/theme/NavbarItem/styles.module.scss
index 0e062269..abcb8a74 100644
--- a/cloudtower-api-doc/src/theme/NavbarItem/styles.module.scss
+++ b/cloudtower-api-doc/src/theme/NavbarItem/styles.module.scss
@@ -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)
}
diff --git a/cloudtower-api-doc/swagger/i18n.ts b/cloudtower-api-doc/swagger/i18n.ts
index 2dee2a61..c27d35cd 100644
--- a/cloudtower-api-doc/swagger/i18n.ts
+++ b/cloudtower-api-doc/swagger/i18n.ts
@@ -74,7 +74,7 @@ import en4_2API from './locales/en/4.2.0.json';
import zh4_3API from './locales/zh/4.3.0.json';
import en4_3API from './locales/en/4.3.0.json';
-export const fallbackNS = ['4_3_0','4_2_0','4_1_0','4_0_0','3_4_4', '3_4_0','3_3_0', '3_2_0', '3_1_0', '3_0_0', '2_8_0', '2_7_0', '2_6_0', '2_5_0', '2_4_0', '2_3_0', '2_2_0', '2_1_0', '2_0_0', '1_10_0', '1_9_0', '1_8_0'];
+export const fallbackNS = ['4_3_0','4_2_0','4_1_0','4_0_0','3_4_4','3_4_0','3_3_0', '3_2_0', '3_1_0', '3_0_0', '2_8_0', '2_7_0', '2_6_0', '2_5_0', '2_4_0', '2_3_0', '2_2_0', '2_1_0', '2_0_0', '1_10_0', '1_9_0', '1_8_0'];
export type ApiDoc = {
summary: string;
description: string;
diff --git a/cloudtower-api-doc/swagger/locales/en/3.4.4.json b/cloudtower-api-doc/swagger/locales/en/3.4.4.json
index c8236905..737c2296 100644
--- a/cloudtower-api-doc/swagger/locales/en/3.4.4.json
+++ b/cloudtower-api-doc/swagger/locales/en/3.4.4.json
@@ -1868,7 +1868,7 @@
"paths": {
"/create-vm-from-content-library-template-batch": {
"summary": "Batch create VMs from content library template",
- "description": ""
+ "description": "* Support from 3.4.4"
}
}
}
\ No newline at end of file
diff --git a/cloudtower-api-doc/swagger/locales/en/components.json b/cloudtower-api-doc/swagger/locales/en/components.json
index 5537af6f..78cb8ed0 100644
--- a/cloudtower-api-doc/swagger/locales/en/components.json
+++ b/cloudtower-api-doc/swagger/locales/en/components.json
@@ -16,7 +16,6 @@
"expand": "Expand all",
"show": "show",
"send": "Send",
-
"server_placeholder": "add new server, http://YOUR_TOWER_URL/v2/api",
"servers": "Servers",
"filter_placeholder": "Filter By Tag, API, API Description.",
@@ -86,5 +85,6 @@
"candidate": "End-User License Agreement",
"version_icu": "Version {version}",
"VirtualPrivateCloudNetwork": "VPC Networking",
- "DistributedFirewall": "Distributed Firewall"
+ "DistributedFirewall": "Distributed Firewall",
+ "allVersions": "All Versions"
}
diff --git a/cloudtower-api-doc/swagger/locales/zh/3.4.4.json b/cloudtower-api-doc/swagger/locales/zh/3.4.4.json
index bf2b7743..f60231aa 100644
--- a/cloudtower-api-doc/swagger/locales/zh/3.4.4.json
+++ b/cloudtower-api-doc/swagger/locales/zh/3.4.4.json
@@ -1868,7 +1868,7 @@
"paths": {
"/create-vm-from-content-library-template-batch": {
"summary": "批量从内容库模版创建虚拟机",
- "description": ""
+ "description": "* 从 3.4.4 开始支持"
}
}
}
\ No newline at end of file
diff --git a/cloudtower-api-doc/swagger/locales/zh/components.json b/cloudtower-api-doc/swagger/locales/zh/components.json
index 201fb487..61ccba0b 100644
--- a/cloudtower-api-doc/swagger/locales/zh/components.json
+++ b/cloudtower-api-doc/swagger/locales/zh/components.json
@@ -84,5 +84,6 @@
"candidate": "最终用户许可协议",
"version_icu": "版本 {version}",
"VirtualPrivateCloudNetwork": "虚拟专有云网络",
- "DistributedFirewall": "分布式防火墙"
+ "DistributedFirewall": "分布式防火墙",
+ "allVersions": "所有版本"
}
\ No newline at end of file
diff --git a/cloudtower-api-doc/swagger/utils/swagger.ts b/cloudtower-api-doc/swagger/utils/swagger.ts
index 34d14303..a17fdb78 100644
--- a/cloudtower-api-doc/swagger/utils/swagger.ts
+++ b/cloudtower-api-doc/swagger/utils/swagger.ts
@@ -6,23 +6,6 @@ export const specMap = {
'4.1.0': import('../../static/specs/4.1.0-swagger.json'),
'4.0.0': import('../../static/specs/4.0.0-swagger.json'),
'3.4.4': import('../../static/specs/3.4.4-swagger.json'),
- '3.4.0': import('../../static/specs/3.4.0-swagger.json'),
- '3.3.0': import('../../static/specs/3.3.0-swagger.json'),
- '3.2.0': import('../../static/specs/3.2.0-swagger.json'),
- '3.1.0': import('../../static/specs/3.1.0-swagger.json'),
- '3.0.0': import('../../static/specs/3.0.0-swagger.json'),
- '2.8.0': import('../../static/specs/2.8.0-swagger.json'),
- '2.7.0': import('../../static/specs/2.7.0-swagger.json'),
- '2.6.0': import('../../static/specs/2.6.0-swagger.json'),
- '2.5.0': import('../../static/specs/2.5.0-swagger.json'),
- '2.4.0': import('../../static/specs/2.4.0-swagger.json'),
- '2.3.0': import('../../static/specs/2.3.0-swagger.json'),
- '2.2.0': import('../../static/specs/2.2.0-swagger.json'),
- '2.1.0': import('../../static/specs/2.1.0-swagger.json'),
- '2.0.0': import('../../static/specs/2.0.0-swagger.json'),
- '1.10.0': import('../../static/specs/1.10.0-swagger.json'),
- '1.9.0': import('../../static/specs/1.9.0-swagger.json'),
- '1.8.0': import('../../static/specs/1.8.0-swagger.json'),
}