aboutsummaryrefslogtreecommitdiff
path: root/kde-modules
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2019-12-19 22:28:51 +0100
committerFriedrich W. H. Kossebau <kossebau@kde.org>2019-12-19 22:28:51 +0100
commit44adaadf98f95116acde22c41eee3dd8a2ad6542 (patch)
treed77da789f4ba639ea6f731db282f2d74f9083aae /kde-modules
parentc4890d5c03ed79f0c87da861b6608bbd46c2162c (diff)
downloadextra-cmake-modules-44adaadf98f95116acde22c41eee3dd8a2ad6542.tar.gz
extra-cmake-modules-44adaadf98f95116acde22c41eee3dd8a2ad6542.tar.bz2
API dox: fix rst syntax for KDEClangFormat text
Diffstat (limited to 'kde-modules')
-rw-r--r--kde-modules/KDEClangFormat.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/kde-modules/KDEClangFormat.cmake b/kde-modules/KDEClangFormat.cmake
index d00f2c9f..472727a3 100644
--- a/kde-modules/KDEClangFormat.cmake
+++ b/kde-modules/KDEClangFormat.cmake
@@ -12,10 +12,12 @@
#
# kde_clang_format(<files>)
#
-# Using this function will create a clang-format target that will format all
-# <files> passed to the function with the predefined KDE clang-format style.
+# Using this function will create a clang-format target that will format all
+# ``<files>`` passed to the function with the predefined KDE clang-format style.
#
-# Example usage:
+# Example usage:
+#
+# .. code-block:: cmake
#
# include(KDEClangFormat)
# file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES src/*.cpp src/*.h)