Skip to content

Commit 06ecf37

Browse files
Fixed various typos and unified some formats in documentation (#996) (#998)
* 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) Co-authored-by: juanjo4936 <69901369+juanjo4936@users.noreply.github.com>
1 parent 05620a8 commit 06ecf37

File tree

15 files changed

+33
-33
lines changed

15 files changed

+33
-33
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
Alternatively, instead of the two mandatory arguments above, you can use:
2424

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Default DomainParticipantQos
117117
The default DomainParticipantQos refers to the value returned by the
118118
|DomainParticipantFactory::get_default_participant_qos-api| member function on the
119119
:ref:`dds_layer_domainParticipantFactory` singleton.
120-
The special value ``PARTICIPANT_QOS_DEFAULT`` can be used as QoS argument on
120+
The special value :code:`PARTICIPANT_QOS_DEFAULT` can be used as QoS argument on
121121
|DomainParticipantFactory::create_participant-api|
122122
or |DomainParticipant::set_qos-api| member functions to indicate that the current default
123123
DomainParticipantQos should be used.
@@ -137,7 +137,7 @@ DomainParticipant instances.
137137
:dedent: 8
138138

139139
|DomainParticipantFactory::set_default_participant_qos-api|
140-
member function also accepts the value ``PARTICIPANT_QOS_DEFAULT``
140+
member function also accepts the value :code:`PARTICIPANT_QOS_DEFAULT`
141141
as input argument.
142142
This will reset the current default DomainParticipantQos to the default constructed value
143143
|DomainParticipantQos::DomainParticipantQos-api|.
@@ -149,7 +149,7 @@ This will reset the current default DomainParticipantQos to the default construc
149149
:dedent: 8
150150

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

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ 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.
20-
If the provided value is :class:`DATAWRITER_QOS_USE_TOPIC_QOS`,
20+
If the provided value is :code:`DATAWRITER_QOS_USE_TOPIC_QOS`,
2121
the values of the default QoS and the provided TopicQoS are used, whereby any policy
2222
that is set on the TopicQoS overrides the corresponding policy on the default QoS.
2323

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ 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.
20-
If the provided value is :class:`DATAREADER_QOS_USE_TOPIC_QOS`,
20+
If the provided value is :code:`DATAREADER_QOS_USE_TOPIC_QOS`,
2121
the values of the default QoS and the provided TopicQoS are used, whereby any policy
2222
that is set on the TopicQoS overrides the corresponding policy on the default QoS.
2323

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

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

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

@@ -151,7 +151,7 @@ value |DataReaderQos::DataReaderQos-api|.
151151
:dedent: 8
152152

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

156156
* On |Subscriber::create_datareader-api|
157157
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)