[PATCH 3/4] docs: formatsecret: Convert inline emphasis of a warning to the '.. warning:' role

Peter Krempa via Devel posted 4 patches 1 week, 4 days ago
[PATCH 3/4] docs: formatsecret: Convert inline emphasis of a warning to the '.. warning:' role
Posted by Peter Krempa via Devel 1 week, 4 days ago
From: Peter Krempa <pkrempa@redhat.com>

This is an example how to hilight very important information in the
docs.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 docs/formatsecret.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/formatsecret.rst b/docs/formatsecret.rst
index 606a9cc587..d4e0cb9ddb 100644
--- a/docs/formatsecret.rst
+++ b/docs/formatsecret.rst
@@ -321,9 +321,10 @@ be omitted if the file contents are base64-encoded.
    # virsh secret-set-value 6dd3e4a5-1d76-44ce-961f-f119f5aad935 --file secretinfile --plain
    Secret value set

-**WARNING** The following approach is **insecure** and deprecated. The secret
-can also be set via an argument. Note that other users may see the actual secret
-in the process listing! The secret must be base64 encoded.
+.. warning::
+   The following approach is **insecure** and deprecated. The secret
+   can also be set via an argument. Note that other users may see the actual
+   secret in the process listing! The secret must be base64 encoded.

 ::

-- 
2.51.0