Skip to content

Commit e5fd2a7

Browse files
author
Murilo Marinho
committed
[cpp] Removing mostly empty index file.
1 parent 6a25eb0 commit e5fd2a7

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

docs/source/cpp/cpp_node.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ These files do not exist, so we'll create them.
156156

157157
.. tab-item:: folder
158158

159+
Create the folder.
160+
159161
.. code-block:: console
160162
161163
cd ~/ros2_tutorial_workspace/src/cpp_package_with_a_node
@@ -187,7 +189,7 @@ These files do not exist, so we'll create them.
187189

188190
.. tab-item:: src/..._main.cpp
189191

190-
Given that we are using ``rclcpp::spin()``, there is nothing special here either. Just remember to not mess up the ``std::make_shared`` and always use perfect forwarding. See :ref:`Perfect forwarding`.
192+
Given that we are using ``rclcpp::spin()``, there is nothing special here either. Just remember to not mess up the ``std::make_shared`` and always use perfect forwarding.
191193
The ``rclcpp::spin()`` handles the ``SIGINT`` when we, for example, press :kbd:`CTRL+C` on the terminal. It is not perfect, but it does the trick for simple nodes like this one.
192194

193195
:download:`print_forever_node_main.cpp <../../../ros2_tutorial_workspace/src/cpp_package_with_a_node/src/print_forever_node_main.cpp>`

docs/source/cpp/index.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/source/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ If you enjoyed this tutorial, please
171171
:maxdepth: 2
172172
:hidden:
173173

174-
cpp/index
175174
cpp/cpp_node
176175
cpp/cpp_library
177176
cpp/cpp_vent

0 commit comments

Comments
 (0)