Commit 7f969b2f authored by Topi Reinio's avatar Topi Reinio Committed by Topi Reiniö
Browse files

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: default avatarLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: default avatarVenugopal Shivashankar <venugopal.shivashankar@digia.com>
Showing with 3 additions and 1 deletion
...@@ -119,3 +119,5 @@ qhp.QtDoc.extraFiles += images/qt-codesample.png ...@@ -119,3 +119,5 @@ qhp.QtDoc.extraFiles += images/qt-codesample.png
# Add an .html file with sidebar content, used in the online style # Add an .html file with sidebar content, used in the online style
HTML.stylesheets += style/qt5-sidebar.html HTML.stylesheets += style/qt5-sidebar.html
macro.indextitle = "\\title Qt $QT_VER"
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
****************************************************************************/ ****************************************************************************/
/*! /*!
\indextitle
\page index.html \page index.html
\keyword Qt Reference Documentation \keyword Qt Reference Documentation
\div {class="landing"} \div {class="landing"}
\div {class="col-1"} \div {class="col-1"}
\div {class="heading"} \div {class="heading"}
\title Qt 5.7
\enddiv \enddiv
Qt is a full development framework with tools designed to streamline Qt is a full development framework with tools designed to streamline
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment