Skip to content

Commit de7c7ed

Browse files
mergify[bot]DLuchristophebedard-apexai
authored
Other sentence formatting (backport #5031) (#5033)
* Other sentence formatting (#5031) * Add second dot to abbreviations * Remove some random periods * Escape some periods * Convert some links * Add formatted block (cherry picked from commit 1975a31) Signed-off-by: Christophe Bedard <[email protected]> Co-authored-by: David V. Lu!! <[email protected]> Co-authored-by: Christophe Bedard <[email protected]>
1 parent fa67e3a commit de7c7ed

19 files changed

+36
-36
lines changed

source/Concepts/Intermediate/About-Executors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Callback groups
108108
ROS 2 allows organizing the callbacks of a node in groups.
109109
In rclcpp, such a *callback group* can be created by the ``create_callback_group`` function of the Node class.
110110
In rclpy, the same is done by calling the constructor of the specific callback group type.
111-
The callback group must be stored throughout execution of the node (eg. as a class member), or otherwise the executor won't be able to trigger the callbacks.
111+
The callback group must be stored throughout execution of the node (e.g. as a class member), or otherwise the executor won't be able to trigger the callbacks.
112112
Then, this callback group can be specified when creating a subscription, timer, etc. - for example by the subscription options:
113113

114114
.. tabs::

source/How-To-Guides/Releasing/Release-Track.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The repository name is trivial, but it is recommended to set this to the name of
6363
Name of the repository (used in the archive name)
6464
['upstream']:
6565
66-
Type the name of your project (eg. ``my_project``) and press Enter.
66+
Type the name of your project (e.g. ``my_project``) and press Enter.
6767
6868
.. _upstream-repository-uri:
6969
@@ -82,7 +82,7 @@ This is most likely an https link to your project hosted on a git hosting servic
8282
where the :{version} token will be replaced with the version for this release.
8383
[None]:
8484
85-
Make sure you **use the https address** (eg. ``https://github.com/my_organization/my_repo.git``) and not the ssh address.
85+
Make sure you **use the https address** (e.g. ``https://github.com/my_organization/my_repo.git``) and not the ssh address.
8686
8787
.. _upstream-vcs-type:
8888
@@ -112,7 +112,7 @@ Most repositories will be using git, but some legacy repositories might be using
112112
Version
113113
^^^^^^^
114114
115-
This is the version of the package you are releasing. (eg. ``1.0.3``)
115+
This is the version of the package you are releasing. (e.g. ``1.0.3``)
116116
117117
.. code-block:: bash
118118

source/How-To-Guides/Releasing/_Bump-Package-Version.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Run:
88
which performs the following:
99

1010
#. increases the package version in ``package.xml``
11-
#. replaces the heading ``Forthcoming`` with ``version (date)`` (eg. ``0.0.1 (2022-01-08)``) in ``CHANGELOG.rst``
11+
#. replaces the heading ``Forthcoming`` with ``version (date)`` (e.g. ``0.0.1 (2022-01-08)``) in ``CHANGELOG.rst``
1212
#. commits those changes
13-
#. creates a tag (eg. ``0.0.1``)
13+
#. creates a tag (e.g. ``0.0.1``)
1414
#. pushes the changes and the tag to your remote repository
1515

1616
.. note::

source/How-To-Guides/Releasing/_Install-Dependencies.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ Install tools that you will use in the upcoming steps according to your platform
22

33
.. tabs::
44

5-
.. group-tab:: deb (eg. Ubuntu)
5+
.. group-tab:: deb (e.g. Ubuntu)
66

77
.. code-block:: bash
88
99
sudo apt install python3-bloom python3-catkin-pkg
1010
11-
.. group-tab:: RPM (eg. RHEL)
11+
.. group-tab:: RPM (e.g. RHEL)
1212

1313
.. code-block:: bash
1414

source/The-ROS2-Project/Contributing/Build-Farms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Execution of the jobs depends on the type of the job:
8282
Frequency Asked Questions (FAQ) and Troubleshooting
8383
---------------------------------------------------
8484

85-
#. **I get Jenkins mails from failing build farm jobs. What do I do?**
85+
#. **I get Jenkins mails from failing build farm jobs; What do I do?**
8686

8787
Go to the job that raised the issue.
8888
You find the link on top of the Jenkins email.

source/The-ROS2-Project/Contributing/Code-Style-Language-Versions.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ Line Length
7676
File Extensions
7777
~~~~~~~~~~~~~~~
7878

79-
* Header files should use the .hpp extension.
79+
* Header files should use the ``.hpp`` extension.
8080

8181
* rationale: Allow tools to determine content of files, C++ or C.
8282

83-
* Implementation files should use the .cpp extension.
83+
* Implementation files should use the ``.cpp`` extension.
8484

8585
* rationale: Allow tools to determine content of files, C++ or C.
8686

@@ -345,10 +345,10 @@ The pycodestyle configuration used in the linter is `here <https://github.com/am
345345

346346
Integration with editors:
347347

348-
* atom: https://atom.io/packages/linter-pycodestyle
349-
* emacs: https://www.emacswiki.org/emacs/PythonProgrammingInEmacs
350-
* Sublime Text: https://sublime.wbond.net/packages/SublimeLinter-flake8
351-
* vim: https://github.com/nvie/vim-flake8
348+
* `atom <https://atom.io/packages/linter-pycodestyle>`_
349+
* `emacs <https://www.emacswiki.org/emacs/PythonProgrammingInEmacs>`_
350+
* `Sublime Text <https://sublime.wbond.net/packages/SublimeLinter-flake8>`_
351+
* `vim <https://github.com/nvie/vim-flake8>`_
352352

353353
CMake
354354
-----

source/The-ROS2-Project/Contributing/Developer-Guide.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ This might include workflows for testing the code using something like ``python
198198

199199
Examples:
200200

201-
* capabilities: https://docs.ros.org/hydro/api/capabilities/html/
201+
* `capabilities <https://docs.ros.org/hydro/api/capabilities/html/>`_
202202

203203
* This one gives an example of docs which describe the public API
204204

205-
* catkin_tools: https://catkin-tools.readthedocs.org/en/latest/development/extending_the_catkin_command.html
205+
* `catkin_tools <https://catkin-tools.readthedocs.org/en/latest/development/extending_the_catkin_command.html>`_
206206

207207
* This is an example of describing an extension point for a package
208208

@@ -897,7 +897,7 @@ Capture the lcov results with a similar command this time dropping the ``--initi
897897
898898
lcov --no-external --capture --directory . --output-file ~/ros2.info
899899
900-
Combine the trace .info files:
900+
Combine the trace ``.info`` files:
901901

902902
.. code-block:: bash
903903

source/The-ROS2-Project/Feature-Ideas.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ The trailing stars indicate the rough effort: 1 star for small, 2 stars for medi
136136
* Key storage security (right now, keys are just stored in the filesystem) [\*\*]
137137
* More user friendly interface (make it easier to specify security config).
138138
Maybe a Qt GUI?
139-
This GUI could also assist in distributing keys somehow. [\*\*\*]
140-
* A way to say "please secure this running system" with some UI that would auto-generate keys and policies for everything that is currently running. [\*\*\*]
141-
* If there are hardware-specific features for securing keys or accelerating encryption/signing messages, that could be interesting to add to DDS/RTPS implementations that don't use it already. [\*\*\*]
139+
This GUI could also assist in distributing keys somehow [\*\*\*]
140+
* A way to say "please secure this running system" with some UI that would auto-generate keys and policies for everything that is currently running [\*\*\*]
141+
* If there are hardware-specific features for securing keys or accelerating encryption/signing messages, that could be interesting to add to DDS/RTPS implementations that don't use it already [\*\*\*]
142142

143143
Reducing Technical Debt
144144
-----------------------

source/Tutorials/Advanced/Allocator-Template-Tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ ROS 2 offers support for the TLSF (Two Level Segregate Fit) allocator, which was
257257

258258
https://github.com/ros2/realtime_support/tree/{REPOS_FILE_BRANCH}/tlsf_cpp
259259

260-
For more information about TLSF, see http://www.gii.upv.es/tlsf/
260+
For more information about TLSF, see `this page via Universitat Politècnica de València <http://www.gii.upv.es/tlsf/>`_.
261261

262262
Note that the TLSF allocator is licensed under a dual-GPL/LGPL license.
263263

source/Tutorials/Advanced/Simulators/Webots/Installation-MacOS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ In the :ref:`Preconfigured Images` section, you can find already configured imag
4747
Install UTM on your macOS machine.
4848
The link can be found on the `official UTM website <https://mac.getutm.app/>`_.
4949

50-
Download the .iso image of `Ubuntu 22.04 <https://cdimage.ubuntu.com/jammy/daily-live/current/>`_ for Humble and Rolling or `Ubuntu 20.04 <https://cdimage.ubuntu.com/focal/daily-live/pending/>`_ for Foxy.
50+
Download the ``.iso`` image of `Ubuntu 22.04 <https://cdimage.ubuntu.com/jammy/daily-live/current/>`_ for Humble and Rolling or `Ubuntu 20.04 <https://cdimage.ubuntu.com/focal/daily-live/pending/>`_ for Foxy.
5151
Be sure to download the image corresponding to your CPU architecture.
5252

5353
In the UTM software:

0 commit comments

Comments
 (0)