summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2022-04-25 14:34:50 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-05-10 09:12:12 +0000
commit935a5fde88238bfbd8a3c89ebe55d71017b76aa2 (patch)
tree2f9741ac8fc36ed49b8aaf6dea1811ddcb425a26
parente46989a41867c1c844bdc5cb7170412183962275 (diff)
Doc: Fix syntax in \tab macro example
Change-Id: I490ecc3a810b911f9e6b242fc01f5a03800e9bc9 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit 1ae30395f3693d37e8b5c145f95f47ebf4fabc0f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--doc/global/htmltabs.qdocconf8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/global/htmltabs.qdocconf b/doc/global/htmltabs.qdocconf
index 7903cec18a..164c71e9f0 100644
--- a/doc/global/htmltabs.qdocconf
+++ b/doc/global/htmltabs.qdocconf
@@ -18,22 +18,22 @@
# Note that these macros work with the online template only.
#
# Example:
-# \if(onlinedocs)
-# \tab {build-qt-app}{tab-cmake}{CMake}{selected}
+# \if defined(onlinedocs)
+# \tab {build-qt-app}{tab-cmake}{CMake}{checked}
# \tab {build-qt-app}{tab-qmake}{qmake}{}
# \tabcontent {tab-cmake}
# \else
# \section1 Using CMake
# \endif
# CMake-specific instructions go here
-# \if(onlinedocs)
+# \if defined(onlinedocs)
# \endtabcontent
# \tabcontent {tab-qmake}
# \else
# \section1 Using qmake
# \endif
# qmake-specific instructions go here
-# \if(onlinedocs)
+# \if defined(onlinedocs)
# \endtabcontent
# \endif