From ecb442dc3b90cf2d523fcf8e2dacf438fdeed6f6 Mon Sep 17 00:00:00 2001
From: Nico Vertriest <nico.vertriest@qt.io>
Date: Mon, 7 Oct 2019 12:04:00 +0200
Subject: [PATCH] Doc: Minor corrections qdoc manual

Task-number: QTBUG-78936
Change-Id: I9219581857e83daaae35a717a4d9cdf8f3c4a6aa
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
---
 src/qdoc/doc/qdoc-manual-contextcmds.qdoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/qdoc/doc/qdoc-manual-contextcmds.qdoc b/src/qdoc/doc/qdoc-manual-contextcmds.qdoc
index 61e29669c..92918ac51 100644
--- a/src/qdoc/doc/qdoc-manual-contextcmds.qdoc
+++ b/src/qdoc/doc/qdoc-manual-contextcmds.qdoc
@@ -241,15 +241,15 @@
     \section1 \\dontdocument
 
     The \\dontdocument command is only used in a dontdocument.qdoc file
-    for a particular module.  This file specifies publically declared
-    classes or structs that are not meant to be documented. Then QDoc will
-    not print warnings about missing \class comments for these classes
+    for a particular module. This file specifies publically declared
+    classes or structs that are not meant to be documented. QDoc will
+    not print warnings about missing \\class comments for these classes
     and structs.
 
     Below you will find the \\dontdocument command in the
     dontdocument.qdoc for widgets:
 
-    \code
+    \badcode
     /*!
        \dontdocument (QTypeInfo QMetaTypeId)
     */
-- 
GitLab