From 985eb62348f7ef05b489a9123ccce3ce61ef9f89 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 24 Aug 2023 08:26:56 -0400 Subject: [PATCH] Fix Windows command in Creating-A-Workspace (#3860) (#3862) (cherry picked from commit 36e3c4e9c470739ab6e2844aab2ba93ac950266b) Co-authored-by: songyuc <466309936@qq.com> --- .../Creating-A-Workspace.rst | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/source/Tutorials/Beginner-Client-Libraries/Creating-A-Workspace/Creating-A-Workspace.rst b/source/Tutorials/Beginner-Client-Libraries/Creating-A-Workspace/Creating-A-Workspace.rst index 5656b3b44e..363c418002 100644 --- a/source/Tutorials/Beginner-Client-Libraries/Creating-A-Workspace/Creating-A-Workspace.rst +++ b/source/Tutorials/Beginner-Client-Libraries/Creating-A-Workspace/Creating-A-Workspace.rst @@ -222,7 +222,29 @@ The console will return the following message: * ``--symlink-install`` saves you from having to rebuild every time you tweak python scripts * ``--event-handlers console_direct+`` shows console output while building (can otherwise be found in the ``log`` directory) -Once the build is finished, enter ``ls`` in the workspace root (``~/ros2_ws``) and you will see that colcon has created new directories: +Once the build is finished, enter the command in the workspace root (``~/ros2_ws``): + +.. tabs:: + + .. group-tab:: Linux + + .. code-block:: console + + ls + + .. group-tab:: macOS + + .. code-block:: console + + ls + + .. group-tab:: Windows + + .. code-block:: console + + dir + +And you will see that colcon has created new directories: .. code-block:: console