From 65a06c224d845f1fae4dae4a3a3b93044eb404c2 Mon Sep 17 00:00:00 2001 From: Kabir Khan Date: Mon, 17 Jun 2024 17:37:18 +0200 Subject: [PATCH] [WFLY-19335] Fixes from code review to improve rendering --- shared-doc/helm-deploy-project.adoc | 8 ++++---- shared-doc/helm-undeploy-project.adoc | 8 ++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/shared-doc/helm-deploy-project.adoc b/shared-doc/helm-deploy-project.adoc index 8fbff12fd1..f04d1035ab 100644 --- a/shared-doc/helm-deploy-project.adoc +++ b/shared-doc/helm-deploy-project.adoc @@ -140,9 +140,9 @@ endif::[] The Maven profile named `openshift` is used by the Helm chart to provision the server with the quickstart deployed on the root web context, and thus the application should be accessed with the URL without the `/{artifactId}` path segment after `HOST:PORT`. ==== -ifdef::openshift,post-helm-install-actions-openshift[] +ifdef::openshift+post-helm-install-actions-openshift[] include::{post-helm-install-actions-openshift}[leveloffset=+1] -endif::openshift,post-helm-install-actions-openshift[] -ifdef::kubernetes,post-helm-install-actions-kubernetes[] +endif::openshift+post-helm-install-actions-openshift[] +ifdef::kubernetes+post-helm-install-actions-kubernetes[] include::{post-helm-install-actions-kubernetes}[leveloffset=+1] -endif::kubernetes,post-helm-install-actions-kubernetes[] +endif::kubernetes+post-helm-install-actions-kubernetes[] diff --git a/shared-doc/helm-undeploy-project.adoc b/shared-doc/helm-undeploy-project.adoc index c42eedea06..078d91513e 100644 --- a/shared-doc/helm-undeploy-project.adoc +++ b/shared-doc/helm-undeploy-project.adoc @@ -6,5 +6,9 @@ $ helm uninstall {helm-app-name} ---- ifdef::kubernetes[] -Stop the port forward you created earlier with `kubectl port-forward service/{helm-app-name} 8080:8080`. -endif::[] +To stop the port forward you created earlier use: +[source,options="nowrap",subs="+attributes"] +---- +$ kubectl port-forward service/{helm-app-name} 8080:8080 +---- +endif::[] \ No newline at end of file