@@ -6,10 +6,13 @@ import { TextContent } from '@patternfly/react-core'
6
6
import { useTranslation } from './acm-i18next'
7
7
8
8
export const DOC_VERSION = '2.13'
9
+ export const OCP_DOC_VERSION = '4.18'
9
10
10
11
export const DOC_HOME = `https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_management_for_kubernetes/${ DOC_VERSION } `
11
12
export const DOC_BASE_PATH = `${ DOC_HOME } /html-single`
12
- export const OCP_DOC_BASE_PATH = 'https://docs.redhat.com/en/documentation/openshift_container_platform'
13
+ export const OCP_DOC = 'https://docs.redhat.com/en/documentation/openshift_container_platform'
14
+ const OCP_DOC_HOME = `https://docs.redhat.com/en/documentation/openshift_container_platform/${ OCP_DOC_VERSION } `
15
+ const OCP_DOC_BASE_PATH = `${ OCP_DOC_HOME } /html-single`
13
16
14
17
export const DOC_LINKS = {
15
18
CLUSTERS : `${ DOC_BASE_PATH } /clusters/index#cluster-intro` ,
@@ -19,7 +22,6 @@ export const DOC_LINKS = {
19
22
CREATE_CONNECTION_GCP : `${ DOC_BASE_PATH } /clusters/index#creating-a-credential-for-google-cloud-platform` ,
20
23
CREATE_CONNECTION_VMWARE : `${ DOC_BASE_PATH } /clusters/index#creating-a-credential-for-vmware-vsphere` ,
21
24
CREATE_CONNECTION_OPENSTACK : `${ DOC_BASE_PATH } /clusters/index#creating-a-credential-for-openstack` ,
22
- CREATE_CONNECTION_VIRTUALIZATION : `${ DOC_BASE_PATH } /clusters/index#creating-a-credential-for-virtualization` ,
23
25
CREATE_CONNECTION_ANSIBLE : `${ DOC_BASE_PATH } /clusters/index#creating-a-credential-for-ansible` ,
24
26
CREATE_CONNECTION_REDHATCLOUD : `${ DOC_BASE_PATH } /clusters/index#creating-a-credential-for-openshift-cluster-manager` ,
25
27
CREATE_CONNECTION_PROXY : `${ DOC_BASE_PATH } /clusters/index#cluster-intro` ,
@@ -30,10 +32,8 @@ export const DOC_LINKS = {
30
32
CREATE_CONNECTION_PROXY_OPENSTACK : `${ DOC_BASE_PATH } /clusters/index#proxy-openstack` ,
31
33
CREATE_CONNECTION_PROXY_VIRTUALIZATION : `${ DOC_BASE_PATH } /clusters/index#proxy-virtualization` ,
32
34
CREATE_CLUSTER : `${ DOC_BASE_PATH } /clusters/index#create-intro` ,
33
- CREATE_CLUSTER_HOSTED_AWS : `${ DOC_BASE_PATH } /clusters/index#hosted-deploy-cluster-aws` ,
34
35
CREATE_CLUSTER_ON_PREMISE : `${ DOC_BASE_PATH } /clusters/index#creating-a-cluster-on-premises` ,
35
36
CREATE_CLUSTER_PREREQ : `${ DOC_BASE_PATH } /clusters/index#create-a-cluster-prereq` ,
36
- CREATE_CLUSTER_STS_ARN : `${ DOC_BASE_PATH } /clusters/cluster_mce_overview#create-role-sts-aws` ,
37
37
IMPORT_CLUSTER : `${ DOC_BASE_PATH } /clusters/index#import-intro` ,
38
38
CLUSTER_SETS : `${ DOC_BASE_PATH } /clusters/index#managedclustersets-intro` ,
39
39
GLOBAL_CLUSTER_SET : `${ DOC_BASE_PATH } /clusters/index#managedclustersets_global` ,
@@ -51,16 +51,19 @@ export const DOC_LINKS = {
51
51
MANAGE_APPLICATIONS : `${ DOC_BASE_PATH } /applications/index#managing-applications` ,
52
52
ANSIBLE_JOBS : `${ DOC_BASE_PATH } /clusters/index#ansible-config-cluster` ,
53
53
POLICIES_OVERVIEW : `${ DOC_BASE_PATH } /governance/index#policy-overview` ,
54
- HYPERSHIFT_INTRO : `${ DOC_BASE_PATH } /clusters/index#hosted-control-planes-intro` ,
55
- HYPERSHIFT_DEPLOY_AWS : `${ DOC_BASE_PATH } /clusters/index#hosted-control-planes-manage-aws` ,
56
- HYPERSHIFT_MANAGE_KUBEVIRT : `${ DOC_BASE_PATH } /clusters/index#hosted-control-planes-manage-kubevirt` ,
57
- HOSTED_ENABLE_FEATURE_AWS : `${ DOC_BASE_PATH } /clusters/index#enable-or-disable-hosted-control-planes` ,
58
- HYPERSHIFT_OIDC : `${ DOC_BASE_PATH } /clusters/index#hosted-create-aws-secret` ,
59
- GITOPS_CONFIG : `${ DOC_BASE_PATH } /applications/index#gitops-overview` ,
54
+ GITOPS_CONFIG : `${ DOC_BASE_PATH } /gitops/gitops-overview` ,
60
55
DEPRECATIONS_AND_REMOVALS : `${ DOC_BASE_PATH } /release_notes/release-notes#deprecations-removals` ,
61
56
ENABLE_OBSERVABILITY : `${ DOC_BASE_PATH } /observability/observing-environments-intro#enabling-observability-service` ,
62
57
ACCESSING_CONSOLE : `${ DOC_BASE_PATH } /web_console/web-console#accessing-your-console` ,
63
- ROSA_DISCOVERY_AUTOIMPORT_POLICY_EXAMPLE : `${ DOC_BASE_PATH } /clusters/cluster_mce_overview#import-discover-rosa` ,
58
+ ROSA_DISCOVERY_AUTOIMPORT_POLICY_EXAMPLE : `${ DOC_BASE_PATH } /multicluster_engine_operator_with_red_hat_advanced_cluster_management/mce-acm-integration#import-discover-rosa` ,
59
+ // OCP doc links
60
+ HYPERSHIFT_INTRO : `${ OCP_DOC_BASE_PATH } /hosted_control_planes/hosted-control-planes-overview#hosted-control-planes-overview_hcp-overview` ,
61
+ HYPERSHIFT_DEPLOY_AWS : `${ OCP_DOC_BASE_PATH } /hosted_control_planes/hosted-control-planes-overview#deploying-hosted-control-planes-on-aws` ,
62
+ HYPERSHIFT_STS_ARN : `${ OCP_DOC_BASE_PATH } /hosted_control_planes/hosted-control-planes-overview#hcp-aws-create-role-sts-creds_hcp-deploy-aws` ,
63
+ HYPERSHIFT_MANAGE_KUBEVIRT : `${ OCP_DOC_BASE_PATH } /hosted_control_planes/hosted-control-planes-overview#deploying-hosted-control-planes-on-openshift-virtualization` ,
64
+ HOSTED_ENABLE_FEATURE_AWS : `${ OCP_DOC_BASE_PATH } /hosted_control_planes/hosted-control-planes-overview#hcp-enable-manual_hcp-enable-disable` ,
65
+ HYPERSHIFT_OIDC : `${ OCP_DOC_BASE_PATH } /hosted_control_planes/hosted-control-planes-overview#hcp-aws-prereqs_hcp-deploy-aws` ,
66
+ // AI doc links
64
67
NUTANIX_POST_INSTALL : `https://docs.redhat.com/en/documentation/assisted_installer_for_openshift_container_platform/2024/html/installing_openshift_container_platform_with_the_assisted_installer/assembly_installing-on-nutanix#nutanix-post-installation-configuration_installing-on-nutanix` ,
65
68
}
66
69
0 commit comments