diff --git a/documentation/modules/common-attributes.adoc b/documentation/modules/common-attributes.adoc index 5bb087b0d68..192d2c570cc 100644 --- a/documentation/modules/common-attributes.adoc +++ b/documentation/modules/common-attributes.adoc @@ -45,6 +45,7 @@ // doc metadata :icons: font :build: downstream +:downstream: :toc: macro :experimental: :keywords: migration, VMware, OpenShift Virtualization, KubeVirt, migrating, virtual machines, OpenShift, Red Hat Virtualization, RHV diff --git a/documentation/modules/proc_installing-mtv-operator.adoc b/documentation/modules/proc_installing-mtv-operator.adoc index 0f0fa4e08aa..56726acbdbf 100644 --- a/documentation/modules/proc_installing-mtv-operator.adoc +++ b/documentation/modules/proc_installing-mtv-operator.adoc @@ -28,7 +28,7 @@ endif::[] ifdef::web[] . In the {ocp} web console, click *Operators* -> *OperatorHub*. . Use the *Filter by keyword* field to search for *{operator}*. -ifeval::["{build}" == "upstream"] +ifdef::upstream[] + [NOTE] ==== @@ -76,7 +76,7 @@ EOF ---- . Create a `Subscription` CR for the Operator: -ifeval::["{build}" == "upstream"] +ifdef::upstream[] + [source,terminal,subs="attributes+"] ---- @@ -96,7 +96,7 @@ spec: EOF ---- endif::[] -ifeval::["{build}" == "downstream"] +ifdef::downstream[] + [source,terminal,subs="attributes+"] ---- diff --git a/documentation/modules/proc_upgrading-mtv-ui.adoc b/documentation/modules/proc_upgrading-mtv-ui.adoc index 4a530440d8a..4deab7e64e5 100644 --- a/documentation/modules/proc_upgrading-mtv-ui.adoc +++ b/documentation/modules/proc_upgrading-mtv-ui.adoc @@ -14,10 +14,10 @@ You can upgrade the {operator-name} by using the {ocp} web console to install th . Change the update channel to the correct release. + -ifeval::["{build}" == "upstream"] +ifdef::upstream[] See link:https://docs.okd.io/latest/operators/admin/olm-upgrading-operators.html#olm-changing-update-channel_olm-upgrading-operators[Changing update channel] in the {ocp} documentation. endif::[] -ifeval::["{build}" == "downstream"] +ifdef::downstream[] See {ocp-doc}/operators/administrator-tasks#olm-changing-update-channel_olm-upgrading-operators[Changing the update channel for an Operator] in the {ocp} documentation. endif::[] @@ -44,10 +44,10 @@ If you set *Update approval* on the *Subscriptions* tab to *Automatic*, the upgr + . If you set *Update approval* on the *Subscriptions* tab to *Manual*, approve the upgrade. + -ifeval::["{build}" == "upstream"] +ifdef::upstream[] See link:https://docs.okd.io/latest/operators/admin/olm-upgrading-operators.html#olm-approving-pending-upgrade_olm-upgrading-operators[Manually approving a pending upgrade] in the {ocp} documentation. endif::[] -ifeval::["{build}" == "downstream"] +ifdef::downstream[] See {ocp-doc}/operators/administrator-tasks#olm-approving-pending-upgrade_olm-upgrading-operators[Manually approving a pending Operator upgrade] in the {ocp} documentation. endif::[] diff --git a/documentation/upstream-attributes.adoc b/documentation/upstream-attributes.adoc index 08d7337fcde..e5f53e40309 100644 --- a/documentation/upstream-attributes.adoc +++ b/documentation/upstream-attributes.adoc @@ -47,6 +47,7 @@ // Build type :build: upstream +:upstream: // TOC configuration — produces a fixed left sidebar TOC :toc: left