Small fix to correct command rendering

The following characters may be changed when a text in a rst is rendered
outside a code block:

-- The escape is not rendered unless it is itself escaped;
-- Two consecutive "-" are replaced by a single longer dash;
-- The character "'" may be replaced by a slightly different character.

This causes error when a command is copied from a doc page to a command
terminal. To avoid these problems, extra escapes were added to some
lines in the rst.

Story: 2010738
Task: 49206

Change-Id: I4722b30f44cbd8cf99ce53d6135686a245e363c6
Signed-off-by: Joao Victor Portal <Joao.VictorPortal@windriver.com>
This commit is contained in:
Joao Victor Portal 2024-01-24 10:46:44 -03:00
parent d7fb92b676
commit 90bd0e97cd

View File

@ -155,7 +155,7 @@ Configure OIDC Auth Applications
be extracted from the controller where the Local |LDAP| server is
running (the SystemController in DC environments) using the command
`kubectl get secret system-local-ca -n cert-manager
-o=jsonpath='{.data.ca\.crt}' | base64 --decode >
-o=jsonpath=\'{.data.ca\\.crt}\' | base64 \-\-decode >
local-ldap-ca-cert.crt`.
.. code-block:: none
@ -296,7 +296,7 @@ Configure OIDC Auth Applications
be extracted from the controller where the Local |LDAP| server is
running (the SystemController in DC environments) using the command
`kubectl get secret system-local-ca -n cert-manager
-o=jsonpath='{.data.ca\.crt}' | base64 --decode >
-o=jsonpath=\'{.data.ca\\.crt}\' | base64 \-\-decode >
local-ldap-ca-cert.crt`.
.. code-block:: none