Skip to content

Commit b9fa952

Browse files
committed
TCR-500
1 parent 63ef372 commit b9fa952

211 files changed

Lines changed: 3648 additions & 4608 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/.vuepress/config-client/documents.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,19 @@ export default [
55
link: "/introduction/",
66
},
77
{
8-
title: "CloudLinux OS Legacy (Shared)",
9-
description: "CloudLinux OS Legacy (Shared) is designed for shared hosting providers. It isolates each customer into a separate “Lightweight Virtualized Environment” (LVE), which allocates and limits server resources.",
10-
link: "/legacy/cloudlinux_installation/",
11-
},
12-
{
13-
title: "CloudLinux OS Shared Pro",
14-
description: "CloudLinux OS Shared Pro extends your CloudLinux OS Legacy (Shared) functionality with even more useful features.",
15-
link: "/shared-pro/introduction/",
8+
title: "CloudLinux OS",
9+
description: "Optimizes shared hosting environments by enhancing stability, security, and performance through user isolation and efficient resource management. Featuring tools like LVE resource limits, CageFS, and multiple language selectors, it empowers hosting providers to offer superior services. The CloudLinux OS Shared Pro edition further extends functionality with even more valuable features.",
10+
link: "/cloudlinuxos/cloudlinux_installation/",
1611
},
1712
{
1813
title: "Apache2Nginx (BETA)",
1914
description: "Apache2Nginx sets up Nginx hosting with .htaccess support.",
20-
link: "/legacy/apache2nginx/",
15+
link: "/cloudlinuxos/apache2nginx/",
2116
},
2217
{
2318
title: "AccelerateWP",
2419
description: "AccelerateWP carries a suite of optimization features that can be enabled and automatically configured for the end user's site.",
25-
link: "/shared-pro/accelerate-wp/",
20+
link: "/cloudlinuxos/shared-pro/accelerate-wp/",
2621
},
2722
{
2823
title: "CLN - CloudLinux Licenses",

docs/.vuepress/config-client/sidebar.ts

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,6 @@ export default {
5757
]
5858
},
5959
],
60-
'/shared-pro/': [
61-
{
62-
collapsable: false,
63-
children: [
64-
"/shared-pro/introduction/",
65-
"/shared-pro/x-ray/",
66-
"/shared-pro/centralized-monitoring/",
67-
"/shared-pro/accelerate-wp/"
68-
]
69-
},
70-
],
7160
'/ubuntu/': [
7261
{
7362
collapsable: false,
@@ -81,22 +70,23 @@ export default {
8170
]
8271
},
8372
],
84-
'/legacy/': [
73+
'/cloudlinuxos/': [
8574
{
8675
collapsable: false,
8776
children: [
88-
"/legacy/cloudlinux_installation/",
89-
"/legacy/elevate/",
90-
"/legacy/limits/",
91-
"/legacy/lve_manager/",
92-
"/legacy/cloudlinux_os_components/",
93-
"/legacy/command-line_tools/",
94-
"/legacy/apache2nginx/",
95-
"/legacy/alt-ea_packages/",
96-
"/legacy/control_panel_integration/",
97-
"/legacy/cloudlinux_os_kernel/",
98-
"/legacy/for_cloudlinux_partners/",
99-
"/legacy/deprecated/"
77+
"/cloudlinuxos/cloudlinux_installation/",
78+
"/cloudlinuxos/elevate/",
79+
"/cloudlinuxos/limits/",
80+
"/cloudlinuxos/lve_manager/",
81+
"/cloudlinuxos/cloudlinux_os_components/",
82+
"/cloudlinuxos/shared-pro/",
83+
"/cloudlinuxos/command-line_tools/",
84+
"/cloudlinuxos/apache2nginx/",
85+
"/cloudlinuxos/alt-ea_packages/",
86+
"/cloudlinuxos/control_panel_integration/",
87+
"/cloudlinuxos/cloudlinux_os_kernel/",
88+
"/cloudlinuxos/for_cloudlinux_partners/",
89+
"/cloudlinuxos/deprecated/"
10090
]
10191
},
10292
],

docs/.vuepress/headFunctions.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,18 @@ export default [
2828
`
2929
(function() {
3030
var routes = ${JSON.stringify(routes)};
31+
32+
// Function to normalize a URL by removing a trailing slash
33+
function normalizeUrl(url) {
34+
return url.endsWith('/') ? url.slice(0, -1) : url;
35+
}
36+
37+
var currentPath = normalizeUrl(window.location.pathname + window.location.hash);
3138
3239
for (var route_url in routes) {
33-
if (window.location.href.indexOf(route_url) !== -1) {
40+
if (normalizeUrl(route_url) === currentPath) {
3441
window.location.href = routes[route_url];
42+
break; // Exit the loop after redirecting
3543
}
3644
}
3745
})();

docs/.vuepress/public/images/shared-pro/accelerate-wp/AWPAdminNonPaidPremium.webp renamed to docs/.vuepress/public/images/cloudlinuxos/shared-pro/accelerate-wp/AWPAdminNonPaidPremium.webp

File renamed without changes.

docs/.vuepress/public/images/shared-pro/accelerate-wp/AWPAdminPaidPremium.webp renamed to docs/.vuepress/public/images/cloudlinuxos/shared-pro/accelerate-wp/AWPAdminPaidPremium.webp

File renamed without changes.

docs/.vuepress/public/images/shared-pro/accelerate-wp/AWPBrokenPHP.webp renamed to docs/.vuepress/public/images/cloudlinuxos/shared-pro/accelerate-wp/AWPBrokenPHP.webp

File renamed without changes.

docs/.vuepress/public/images/shared-pro/accelerate-wp/AWPDisable.webp renamed to docs/.vuepress/public/images/cloudlinuxos/shared-pro/accelerate-wp/AWPDisable.webp

File renamed without changes.

docs/.vuepress/public/images/shared-pro/accelerate-wp/AWPDisablePremiumOnly.webp renamed to docs/.vuepress/public/images/cloudlinuxos/shared-pro/accelerate-wp/AWPDisablePremiumOnly.webp

File renamed without changes.

docs/.vuepress/public/images/shared-pro/accelerate-wp/AWPFilters.webp renamed to docs/.vuepress/public/images/cloudlinuxos/shared-pro/accelerate-wp/AWPFilters.webp

File renamed without changes.

docs/.vuepress/public/images/shared-pro/accelerate-wp/AWPNoRedis.webp renamed to docs/.vuepress/public/images/cloudlinuxos/shared-pro/accelerate-wp/AWPNoRedis.webp

File renamed without changes.

0 commit comments

Comments
 (0)