cockpit/suse_docs.patch
2024-12-03 12:14:18 +05:30

174 lines
10 KiB
Diff

From 3b062b0dcab55b3ab224ab8873dfdcfe79d68f49 Mon Sep 17 00:00:00 2001
From: Luna D Dragon <luna.dragon@suse.com>
Date: Mon, 25 Nov 2024 11:22:03 +0530
Subject: [PATCH] replace with suse docs and move docs without eqiv to docs-rh
---
pkg/kdump/manifest.json | 2 +-
pkg/networkmanager/manifest.json | 19 +++++++++++--------
pkg/packagekit/manifest.json | 2 +-
pkg/shell/manifest.json | 2 +-
pkg/storaged/manifest.json | 10 ++++++----
pkg/systemd/manifest.json | 6 +++---
pkg/users/manifest.json | 2 +-
7 files changed, 24 insertions(+), 19 deletions(-)
diff --git a/pkg/kdump/manifest.json b/pkg/kdump/manifest.json
index 323d6ebc9..7d625b1f7 100644
--- a/pkg/kdump/manifest.json
+++ b/pkg/kdump/manifest.json
@@ -5,7 +5,7 @@
"tools": {
"index": {
"label": "Kernel dump",
- "docs": [
+ "docs-rh": [
{
"label": "Configuring kdump",
"url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_monitoring_and_updating_the_kernel/configuring-kdump-in-the-web-console_managing-monitoring-and-updating-the-kernel"
diff --git a/pkg/networkmanager/manifest.json b/pkg/networkmanager/manifest.json
index fa9b2799c..cfa237c2b 100644
--- a/pkg/networkmanager/manifest.json
+++ b/pkg/networkmanager/manifest.json
@@ -10,25 +10,28 @@
"docs": [
{
"label": "Managing networking bonds",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/configuring-network-bonding_configuring-and-managing-networking#proc_configuring-a-network-bond-by-using-the-rhel-web-console_configuring-network-bonding"
- },
- {
- "label": "Managing networking teams",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/configuring-network-teaming_configuring-and-managing-networking#proc_configuring-a-network-team-by-using-the-rhel-web-console_configuring-network-teaming"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#cockpit-managing-bonds"
},
+
{
"label": "Managing networking bridges",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/configuring-a-network-bridge_configuring-and-managing-networking#proc_configuring-a-network-bridge-by-using-the-rhel-web-console_configuring-a-network-bridge"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#task-managing-bridges"
},
{
"label": "Managing VLANs",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/configuring-vlan-tagging_configuring-and-managing-networking#proc_configuring-vlan-tagging-by-using-the-rhel-web-console_configuring-vlan-tagging"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#task-managing-vlans"
},
{
"label": "Managing firewall",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_firewalls_and_packet_filters/using-and-configuring-firewalld_firewall-packet-filters#enabling-services-on-firewall-using-the-web-console_controlling-network-traffic-using-firewalld"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#task-managing-firewall-cockpit"
}
],
+ "docs-rh": [
+ {
+ "label": "Managing networking teams",
+ "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/configuring-network-teaming_configuring-and-managing-networking#proc_configuring-a-network-team-by-using-the-rhel-web-console_configuring-network-teaming"
+ },
+ ],
"keywords": [
{
"matches": ["network", "interface", "bridge", "vlan", "bond", "team", "port", "mac", "ipv4", "ipv6"]
diff --git a/pkg/packagekit/manifest.json b/pkg/packagekit/manifest.json
index 911380a8a..1a2de58cc 100644
--- a/pkg/packagekit/manifest.json
+++ b/pkg/packagekit/manifest.json
@@ -9,7 +9,7 @@
"tools": {
"index": {
"label": "Software updates",
- "docs": [
+ "docs-rh": [
{
"label": "Managing software updates",
"url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_systems_using_the_rhel_9_web_console/managing-software-updates-in-the-web-console_system-management-using-the-rhel-9-web-console"
diff --git a/pkg/shell/manifest.json b/pkg/shell/manifest.json
index 9160c2773..29082412d 100644
--- a/pkg/shell/manifest.json
+++ b/pkg/shell/manifest.json
@@ -26,7 +26,7 @@
"zh-cn": "中文(中国)",
"zh-tw": "中文(台灣)"
},
- "docs": [
+ "docs-rh": [
{
"label": "Web Console",
"url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_systems_using_the_rhel_9_web_console/index"
diff --git a/pkg/storaged/manifest.json b/pkg/storaged/manifest.json
index fac446117..27977253d 100644
--- a/pkg/storaged/manifest.json
+++ b/pkg/storaged/manifest.json
@@ -14,20 +14,22 @@
"docs": [
{
"label": "Managing partitions",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_file_systems/managing-partitions-using-the-web-console_managing-file-systems"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#glue-cockpit-managing-filesystems"
},
{
"label": "Managing NFS mounts",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_file_systems/mounting-nfs-shares_managing-file-systems#connecting-nfs-mounts-in-the-web-console_mounting-nfs-shares"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#task-managing-NFS-mounts"
},
{
"label": "Managing RAIDs",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_storage_devices/managing-raid_managing-storage-devices#creating-raid-in-the-web-console_managing-raid"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#id-1.7.6"
},
{
"label": "Managing LVMs",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_logical_volumes/index"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#id-1.7.7"
},
+ ],
+ "docs-rh": [
{
"label": "Managing physical drives",
"url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_storage_devices/index"
diff --git a/pkg/systemd/manifest.json b/pkg/systemd/manifest.json
index d4b59ab0d..4bcf70e65 100644
--- a/pkg/systemd/manifest.json
+++ b/pkg/systemd/manifest.json
@@ -12,7 +12,7 @@
"docs": [
{
"label": "Configuring system settings",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_systems_using_the_rhel_9_web_console/index"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#cockpit-configuring-servers"
}
],
"keywords": [
@@ -35,7 +35,7 @@
"docs": [
{
"label": "Managing services",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_systems_using_the_rhel_9_web_console/index"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#glue-services-management"
}
],
"keywords": [
@@ -54,7 +54,7 @@
"docs": [
{
"label": "Reviewing logs",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_basic_system_settings/assembly_troubleshooting-problems-using-log-files_configuring-basic-system-settings#reviewing-logs-in-the-web-console_reviewing-logs"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#cockpit-filtering-logs"
}
],
"keywords": [
diff --git a/pkg/users/manifest.json b/pkg/users/manifest.json
index 1f181afc5..b176b14d0 100644
--- a/pkg/users/manifest.json
+++ b/pkg/users/manifest.json
@@ -6,7 +6,7 @@
"docs": [
{
"label": "Managing user accounts",
- "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_basic_system_settings/managing-users-and-groups_configuring-basic-system-settings#managing-user-accounts-in-the-web-console_managing-users-and-groups"
+ "url": "https://documentation.suse.com/sle-micro/6.0/html/Micro-6.0-cockpit/index.html#glue-managing-users"
}
],
"keywords": [
--
2.47.0