Fix Qt Xml docs and generate correct module and index pages
authorLars Knoll <lars.knoll@digia.com>
Thu, 29 Nov 2012 13:08:54 +0000 (14:08 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 29 Nov 2012 23:49:34 +0000 (00:49 +0100)
Change-Id: I95988798997edeb2d656d265e3172fa0d78db55a
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/xml/doc/qtxml.qdocconf
src/xml/doc/src/qtxml-index.qdoc [new file with mode: 0644]
src/xml/doc/src/qtxml.qdoc

index f49950c..33a514e 100644 (file)
@@ -27,7 +27,7 @@ qhp.QtXml.subprojects.classes.sortPages = true
 
 tagfile                 = ../../../doc/qtxml/qtxml.tags
 
-depends                 += qtcore qtnetwork qtdoc
+depends                 += qtcore qtnetwork
 
 headerdirs  += ..
 
diff --git a/src/xml/doc/src/qtxml-index.qdoc b/src/xml/doc/src/qtxml-index.qdoc
new file mode 100644 (file)
index 0000000..692230d
--- /dev/null
@@ -0,0 +1,48 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia.  For licensing terms and
+** conditions see http://qt.digia.com/licensing.  For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file.  Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+    \page qtxml-index.html
+    \title Qt Xml
+    \brief The QtXml module provides C++ implementations of the SAX and DOM standards for XML.
+
+    The module is not actively maintained anymore. Please use
+    the QXmlStreamReader and QXmlStreamwriter classes in Qt Core instead.
+
+    To include the definitions of the module's classes, use the
+    following directive:
+
+    \snippet code/doc_src_qtxml.cpp 0
+
+    To link against the module, add this line to your \l qmake \c
+    .pro file:
+
+    \snippet code/doc_src_qtxml.pro 1
+
+    The \l{Qt Xml C++ classes} page gives an overview over the available classes
+    int this module.
+*/
index 18b4a1f..882bc38 100644 (file)
 
 /*!
     \module QtXml
-    \title QtXml Module
+    \title Qt Xml C++ classes
     \ingroup modules
     \ingroup technology-apis
 
     \brief The QtXml module provides C++ implementations of the SAX and DOM standards for XML.
 
     The module is not actively maintained anymore. Please use
-    the QXmlStreamReader and QXmlStreamwriter classes in Qt Core instead.
+    the \l{QXmlStreamReader} and \l{QXmlStreamWriter} classes in \l{Qt Core} instead.
 
     To include the definitions of the module's classes, use the
     following directive: