diff options
author | Topi Reinio <topi.reinio@theqtcompany.com> | 2016-04-01 10:15:33 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@theqtcompany.com> | 2016-04-01 11:26:08 +0000 |
commit | 7f969b2f4f8cc8d5e9b29c61395e1cde0885ed96 (patch) | |
tree | 8c1b01b03b8dcbc192dbdee82d0b5af877058060 | |
parent | 242909761494a2d5f0a607038d9449d42f65b3d1 (diff) |
Doc: Use a macro for generating the index page title
Define a macro for generating the index page title with the correct
Qt version (major.minor).
This way, the version is automatically updated on the landing page,
based on .qmake.conf.
Change-Id: I44fcc76bfe4ac899a4d3edb334892b088e021d56
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-rw-r--r-- | doc/config/qtdoc.qdocconf | 2 | ||||
-rw-r--r-- | doc/src/index.qdoc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/config/qtdoc.qdocconf b/doc/config/qtdoc.qdocconf index 93d78104e..4c0880278 100644 --- a/doc/config/qtdoc.qdocconf +++ b/doc/config/qtdoc.qdocconf @@ -119,3 +119,5 @@ qhp.QtDoc.extraFiles += images/qt-codesample.png # Add an .html file with sidebar content, used in the online style HTML.stylesheets += style/qt5-sidebar.html + +macro.indextitle = "\\title Qt $QT_VER" diff --git a/doc/src/index.qdoc b/doc/src/index.qdoc index 3e9b7aed5..321d6b7ff 100644 --- a/doc/src/index.qdoc +++ b/doc/src/index.qdoc @@ -26,13 +26,13 @@ ****************************************************************************/ /*! +\indextitle \page index.html \keyword Qt Reference Documentation \div {class="landing"} \div {class="col-1"} \div {class="heading"} - \title Qt 5.7 \enddiv Qt is a full development framework with tools designed to streamline |