From bb1a7b2a12eb87b8fc30face781dca7c74c178ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Bueno=20L=C3=B3pez?= <69244257+JLBuenoLopez-eProsima@users.noreply.github.com> Date: Wed, 8 Feb 2023 10:28:51 +0100 Subject: [PATCH] Fix spell check (#459) * Refs #17130: fix spell check Signed-off-by: JLBuenoLopez-eProsima * Refs #17130: fix spelling Signed-off-by: JLBuenoLopez-eProsima * Refs #17130: apply review suggestion Signed-off-by: JLBuenoLopez-eProsima --------- Signed-off-by: JLBuenoLopez-eProsima --- CMakeLists.txt | 13 ++++++------- .../use_cases/request_reply/request_reply.rst | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 176193920..c12a2a637 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,6 +84,11 @@ set(CPACK_COMPONENT_EXAMPLES_DESCRIPTION "eProsima Fast DDS doxygen documetation") set(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} doxygen) +#################################################################################################### +# Find Sphinx +#################################################################################################### +set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/code/cmake" ${CMAKE_MODULE_PATH}) +find_package(Sphinx REQUIRED) #################################################################################################### # Compile code used in documentation @@ -101,15 +106,9 @@ endif() #################################################################################################### # Build Sphinx documentation #################################################################################################### - -# Find sphinx -set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/code/cmake" ${CMAKE_MODULE_PATH}) -find_package(Sphinx REQUIRED) - -set(SPHINX_SOURCE "${CMAKE_SOURCE_DIR}/docs") - # It is possible to build and run tests without generating the documentation output. This saves time # while developing, since generating the documentation from the RSTs takes quite some time. +set(SPHINX_SOURCE "${CMAKE_SOURCE_DIR}/docs") option(BUILD_DOCUMENTATION "Generate documentation" ON) if (BUILD_DOCUMENTATION) # Check there is Python bindings accessible and configure sphinx depending on that. diff --git a/docs/fastdds/use_cases/request_reply/request_reply.rst b/docs/fastdds/use_cases/request_reply/request_reply.rst index f27930fb2..e54c8df31 100644 --- a/docs/fastdds/use_cases/request_reply/request_reply.rst +++ b/docs/fastdds/use_cases/request_reply/request_reply.rst @@ -52,7 +52,7 @@ The DDS communication schema will be: [Reply DataWriter] --> [Reply DataReader] : Reply Topic The key for making *Request-Reply* work is relating the Request with the Reply in the client's side. -*Fast DDS* API provides |SampleIdentity-api| to achive this. +*Fast DDS* API provides |SampleIdentity-api| to achieve this. A full example can be found in `Fast DDS repository`_.