diff --git a/src/qdoc/doc/qdoc-manual-contextcmds.qdoc b/src/qdoc/doc/qdoc-manual-contextcmds.qdoc
index 2fef88099e926f5c08a4d07b3cd17c903d79954e..61e29669c0bbbd220c58014f8301a5e4e58f545a 100644
--- a/src/qdoc/doc/qdoc-manual-contextcmds.qdoc
+++ b/src/qdoc/doc/qdoc-manual-contextcmds.qdoc
@@ -237,6 +237,24 @@
     See how QDoc renders this property on the reference page for the
     \l {State::changes}{State} type.
 
+    \target dontdocument-command
+    \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
+    and structs.
+
+    Below you will find the \\dontdocument command in the
+    dontdocument.qdoc for widgets:
+
+    \code
+    /*!
+       \dontdocument (QTypeInfo QMetaTypeId)
+    */
+    \endcode
+
     \target obsolete-command
     \section1 \\obsolete