From 209fd01a5e9425b63e867e4ae8d8c89d5dcaed9c Mon Sep 17 00:00:00 2001 From: Akira Yokochi Date: Sat, 3 Feb 2024 03:45:03 +0900 Subject: [PATCH] Fix doc prompts (#1074) * add $ prompt * add space --- docs/docsite/rst/network/getting_started/first_inventory.rst | 2 +- .../rst/network/user_guide/network_debug_troubleshooting.rst | 4 ++-- docs/docsite/rst/network/user_guide/validate.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docsite/rst/network/getting_started/first_inventory.rst b/docs/docsite/rst/network/getting_started/first_inventory.rst index 5df08538aa2..48da95b7d6d 100644 --- a/docs/docsite/rst/network/getting_started/first_inventory.rst +++ b/docs/docsite/rst/network/getting_started/first_inventory.rst @@ -412,7 +412,7 @@ To see the original value, you can use the debug module. Please note if your YAM .. code-block:: console - cat vyos.yml | grep -v ansible_connection >> vyos_no_connection.yml + $ cat vyos.yml | grep -v ansible_connection >> vyos_no_connection.yml ansible localhost -m debug -a var="ansible_password" -e "@vyos_no_connection.yml" --ask-vault-pass Vault password: diff --git a/docs/docsite/rst/network/user_guide/network_debug_troubleshooting.rst b/docs/docsite/rst/network/user_guide/network_debug_troubleshooting.rst index 77c5dd66324..30668dff309 100644 --- a/docs/docsite/rst/network/user_guide/network_debug_troubleshooting.rst +++ b/docs/docsite/rst/network/user_guide/network_debug_troubleshooting.rst @@ -578,7 +578,7 @@ Example: Handle single login menu prompts with host variables .. code-block:: console - $cat host_vars/.yaml + $ cat host_vars/.yaml --- ansible_terminal_initial_prompt: - "Connect to a host" @@ -589,7 +589,7 @@ Example: Handle remote host multiple login menu prompts with host variables .. code-block:: console - $cat host_vars/.yaml + $ cat host_vars/.yaml --- ansible_terminal_initial_prompt: - "Press any key to enter main menu" diff --git a/docs/docsite/rst/network/user_guide/validate.rst b/docs/docsite/rst/network/user_guide/validate.rst index 37f79c6ab49..5837a2b85f6 100644 --- a/docs/docsite/rst/network/user_guide/validate.rst +++ b/docs/docsite/rst/network/user_guide/validate.rst @@ -91,7 +91,7 @@ The criteria for ``jsonschema`` in this example is as follows: .. code-block:: text - $cat criteria/nxos_show_interface_admin_criteria.json + $ cat criteria/nxos_show_interface_admin_criteria.json { "type" : "object", "patternProperties": {