Skip to content

Commit 63497c1

Browse files
mergify[bot]juanjo4936Juanjo Garcia
authored
Fixed various typos and unified some formats in documentation (backport #996) (#1000)
* Fixed various typos and unified some formats in documentation (#996) * Fix links in docu Signed-off-by: Juanjo Garcia <juanjosegarciaesteban@gmail.com> * Fix Typo Signed-off-by: Juanjo Garcia <juanjosegarcia@eprosima.com> * Unified the QOS_DEFAULT format in text Signed-off-by: Juanjo Garcia <juanjosegarcia@eprosima.com> * Fix Typo Signed-off-by: Juanjo Garcia <juanjosegarcia@eprosima.com> * Fixed a typo Signed-off-by: Juanjo Garcia <juanjosegarcia@eprosima.com> * Modified length of a line Signed-off-by: Juanjo Garcia <juanjosegarcia@eprosima.com> --------- Signed-off-by: Juanjo Garcia <juanjosegarciaesteban@gmail.com> Signed-off-by: Juanjo Garcia <juanjosegarcia@eprosima.com> (cherry picked from commit 0a46fe1) # Conflicts: # docs/fastdds/dds_layer/publisher/dataWriter/createDataWriter.rst # docs/fastdds/dds_layer/subscriber/dataReader/createDataReader.rst * Solved the conflicts from the backport Signed-off-by: Juanjo Garcia <juanjosegarcia@eprosima.com> --------- Signed-off-by: Juanjo Garcia <juanjosegarcia@eprosima.com> Co-authored-by: juanjo4936 <69901369+juanjo4936@users.noreply.github.com> Co-authored-by: Juanjo Garcia <juanjosegarcia@eprosima.com>
1 parent 67dc7a0 commit 63497c1

File tree

15 files changed

+31
-31
lines changed

15 files changed

+31
-31
lines changed

docs/fastdds/dds_layer/core/status/status.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ List of status data members:
230230
* |LivelinessChangedStatus::last_publication_handle-api|:
231231
Handle to the last DataWriter
232232
whose liveliness status was changed.
233-
If no liveliness has ever changed, it will have value ``c_InstanceHandle_Unknown``.
233+
If no liveliness has ever changed, it will have value |c_InstanceHandle_Unknown-api|.
234234

235235

236236
.. _dds_layer_core_status_requestedDeadlineMissedStatus:
@@ -268,7 +268,7 @@ List of status data members:
268268

269269
* |DeadlineMissedStatus::last_instance_handle-api|:
270270
Handle to the last instance that missed the deadline.
271-
If no deadline was ever missed, it will have value ``c_InstanceHandle_Unknown``.
271+
If no deadline was ever missed, it will have value |c_InstanceHandle_Unknown-api|.
272272

273273
.. _dds_layer_core_status_requestedIncompatibleQosStatus:
274274

@@ -428,7 +428,7 @@ List of status data members:
428428

429429
* |SampleRejectedStatus::last_instance_handle-api|:
430430
Handle to the last instance whose sample was rejected.
431-
If no sample was ever rejected, it will have value ``c_InstanceHandle_Unknown``.
431+
If no sample was ever rejected, it will have value |c_InstanceHandle_Unknown-api|.
432432

433433
.. _dds_layer_core_status_sampleRejectedStatusKind:
434434

docs/fastdds/dds_layer/domain/domainParticipant/createDomainParticipant.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Mandatory arguments are:
1818
* The |DomainId-api| that identifies the domain where the DomainParticipant will be created.
1919

2020
* The :ref:`dds_layer_domainParticipantQos` describing the behavior of the DomainParticipant.
21-
If the provided value is :class:`TOPIC_QOS_DEFAULT`, the value of the DomainParticipantQos is used.
21+
If the provided value is :class:`PARTICIPANT_QOS_DEFAULT`, the value of the DomainParticipantQos is used.
2222

2323
Optional arguments are:
2424

docs/fastdds/dds_layer/domain/domainParticipant/domainParticipant.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Default DomainParticipantQos
101101
The default DomainParticipantQos refers to the value returned by the
102102
|DomainParticipantFactory::get_default_participant_qos-api| member function on the
103103
:ref:`dds_layer_domainParticipantFactory` singleton.
104-
The special value ``PARTICIPANT_QOS_DEFAULT`` can be used as QoS argument on
104+
The special value :code:`PARTICIPANT_QOS_DEFAULT` can be used as QoS argument on
105105
|DomainParticipantFactory::create_participant-api|
106106
or |DomainParticipant::set_qos-api| member functions to indicate that the current default
107107
DomainParticipantQos should be used.
@@ -121,7 +121,7 @@ DomainParticipant instances.
121121
:dedent: 8
122122

123123
|DomainParticipantFactory::set_default_participant_qos-api|
124-
member function also accepts the value ``PARTICIPANT_QOS_DEFAULT``
124+
member function also accepts the value :code:`PARTICIPANT_QOS_DEFAULT`
125125
as input argument.
126126
This will reset the current default DomainParticipantQos to the default constructed value
127127
|DomainParticipantQos::DomainParticipantQos-api|.
@@ -133,7 +133,7 @@ This will reset the current default DomainParticipantQos to the default construc
133133
:dedent: 8
134134

135135
.. note::
136-
The value ``PARTICIPANT_QOS_DEFAULT`` has different meaning depending on where it is used:
136+
The value :code:`PARTICIPANT_QOS_DEFAULT` has different meaning depending on where it is used:
137137

138138
* On |DomainParticipantFactory::create_participant-api| and |DomainParticipant::set_qos-api| it refers to the
139139
default DomainParticipantQos as returned by |DomainParticipantFactory::get_default_participant_qos-api|.

docs/fastdds/dds_layer/publisher/dataWriter/createDataWriter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Mandatory arguments are:
1515
* A :ref:`dds_layer_topic_topic` bound to the data type that will be transmitted.
1616

1717
* The :ref:`dds_layer_publisher_dataWriterQos` describing the behavior of the DataWriter.
18-
If the provided value is :class:`DATAWRITER_QOS_DEFAULT`,
18+
If the provided value is :code:`DATAWRITER_QOS_DEFAULT`,
1919
the value of the :ref:`dds_layer_defaultDataWriterQos` is used.
2020

2121
Optional arguments are:

docs/fastdds/dds_layer/publisher/dataWriter/dataWriter.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ default values.
9191
.. note::
9292

9393
Reliability kind (whether the publication is reliable or best effort) is not mutable.
94-
However, the ``max_blocking_time`` data member of |ReliabilityQosPolicy| can be modified any time.
94+
However, the :code:`max_blocking_time` data member of |ReliabilityQosPolicy| can be modified any time.
9595
.. note::
9696

9797
Not all data members of RTPSReliableWriterQos are mutable, please refer to |RTPSReliableWriterQos|
@@ -114,7 +114,7 @@ Default DataWriterQos
114114

115115
The default :ref:`dds_layer_publisher_dataWriterQos` refers to the value returned by the
116116
|Publisher::get_default_datawriter_qos-api| member function on the Publisher instance.
117-
The special value :class:`DATAWRITER_QOS_DEFAULT` can be used as QoS argument on |Publisher::create_datawriter-api|
117+
The special value :code:`DATAWRITER_QOS_DEFAULT` can be used as QoS argument on |Publisher::create_datawriter-api|
118118
or |DataWriter::set_qos-api| member functions to indicate that the current default
119119
DataWriterQos should be used.
120120

@@ -131,8 +131,8 @@ DataWriter instances.
131131
:end-before: //!
132132
:dedent: 8
133133

134-
|Publisher::set_default_datawriter_qos-api| member function also accepts the special value ``DATAWRITER_QOS_DEFAULT``
135-
as input argument.
134+
|Publisher::set_default_datawriter_qos-api| member function also accepts the special value
135+
:code:`DATAWRITER_QOS_DEFAULT` as input argument.
136136
This will reset the current default DataWriterQos to default constructed
137137
value |DataWriterQos::DataWriterQos-api|.
138138

@@ -143,7 +143,7 @@ value |DataWriterQos::DataWriterQos-api|.
143143
:dedent: 8
144144

145145
.. note::
146-
The value ``DATAWRITER_QOS_DEFAULT`` has different meaning depending on where it is used:
146+
The value :code:`DATAWRITER_QOS_DEFAULT` has different meaning depending on where it is used:
147147

148148
* On |Publisher::create_datawriter-api| and |DataWriter::set_qos-api| it refers to the default DataWriterQos
149149
as returned by |Publisher::get_default_datawriter_qos-api|.

docs/fastdds/dds_layer/publisher/publisher/createPublisher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ DomainParticipant instance, that acts as a factory for the Publisher.
1313
Mandatory arguments are:
1414

1515
* The :ref:`dds_layer_publisher_publisherQos` describing the behavior of the Publisher.
16-
If the provided value is :class:`PUBLISHER_QOS_DEFAULT`,
16+
If the provided value is :code:`PUBLISHER_QOS_DEFAULT`,
1717
the value of the :ref:`dds_layer_defaultPublisherQos` is used.
1818

1919
Optional arguments are:

docs/fastdds/dds_layer/publisher/publisher/publisher.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Default PublisherQos
5858

5959
The default :ref:`dds_layer_publisher_publisherQos` refers to the value returned by the
6060
|DomainParticipant::get_default_publisher_qos-api| member function on the DomainParticipant instance.
61-
The special value :class:`PUBLISHER_QOS_DEFAULT` can be used as QoS argument on
61+
The special value :code:`PUBLISHER_QOS_DEFAULT` can be used as QoS argument on
6262
|DomainParticipant::create_publisher-api| or |Publisher::set_qos-api| member functions to indicate that the current
6363
default PublisherQos should be used.
6464

@@ -76,7 +76,7 @@ Modifying the default PublisherQos will not affect already existing
7676
:dedent: 8
7777

7878
|DomainParticipant::set_default_publisher_qos-api| member function also accepts the special value
79-
``PUBLISHER_QOS_DEFAULT`` as input argument.
79+
:code:`PUBLISHER_QOS_DEFAULT` as input argument.
8080
This will reset the current default PublisherQos to default constructed
8181
value |PublisherQos::PublisherQos-api|.
8282

@@ -87,7 +87,7 @@ value |PublisherQos::PublisherQos-api|.
8787
:dedent: 8
8888

8989
.. note::
90-
The value ``PUBLISHER_QOS_DEFAULT`` has different meaning depending on where it is used:
90+
The value :code:`PUBLISHER_QOS_DEFAULT` has different meaning depending on where it is used:
9191

9292
* On |DomainParticipant::create_publisher-api| and |Publisher::set_qos-api| it refers to the default
9393
:ref:`dds_layer_publisher_publisherQos`.

docs/fastdds/dds_layer/subscriber/dataReader/createDataReader.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Mandatory arguments are:
1515
* A :ref:`dds_layer_topic_topic` bound to the data type that will be transmitted.
1616

1717
* The :ref:`dds_layer_subscriber_dataReaderQos` describing the behavior of the DataReader.
18-
If the provided value is :class:`DATAREADER_QOS_DEFAULT`,
18+
If the provided value is :code:`DATAREADER_QOS_DEFAULT`,
1919
the value of the :ref:`dds_layer_defaultDataReaderQos` is used.
2020

2121
Optional arguments are:

docs/fastdds/dds_layer/subscriber/dataReader/dataReader.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Default DataReaderQos
118118
The default DataReaderQos refers to the value returned by the
119119
|Subscriber::get_default_datareader_qos-api| member function on the
120120
:ref:`dds_layer_subscriber_subscriber` instance.
121-
The special value ``DATAREADER_QOS_DEFAULT`` can be used as QoS argument on
121+
The special value :code:`DATAREADER_QOS_DEFAULT` can be used as QoS argument on
122122
|Subscriber::create_datareader-api| or
123123
|DataReader::set_qos-api| member functions to indicate that the current default
124124
DataReaderQos should be used.
@@ -138,7 +138,7 @@ Modifying the default DataReaderQos will not affect already existing
138138
:dedent: 8
139139

140140
|Subscriber::set_default_datareader_qos-api| member function also accepts
141-
the special value ``DATAREADER_QOS_DEFAULT`` as input argument.
141+
the special value :code:`DATAREADER_QOS_DEFAULT` as input argument.
142142
This will reset the current default DataReaderQos to default constructed
143143
value |DataReaderQos::DataReaderQos-api|.
144144

@@ -149,7 +149,7 @@ value |DataReaderQos::DataReaderQos-api|.
149149
:dedent: 8
150150

151151
.. note::
152-
The value ``DATAREADER_QOS_DEFAULT`` has different meaning depending on where it is used:
152+
The value :code:`DATAREADER_QOS_DEFAULT` has different meaning depending on where it is used:
153153

154154
* On |Subscriber::create_datareader-api|
155155
and |DataReader::set_qos-api| it refers to the default

docs/fastdds/dds_layer/subscriber/sampleInfo/sampleInfo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SampleInfo
88

99
When a sample is retrieved from the :ref:`dds_layer_subscriber_dataReader`, in addition to the sample data,
1010
a |SampleInfo-api| instance is returned.
11-
This object contains additional information that complements the returned data value and helps on it interpretation.
11+
This object contains additional information that complements the returned data value and helps on its interpretation.
1212
For example, if the :ref:`dds_layer_subscriber_sampleInfo_validdata` value is ``false``, the
1313
DataReader is not informing the application about a new value in the data instance,
1414
but a change on its status, and the returned data value must be discarded.

0 commit comments

Comments
 (0)