summaryrefslogtreecommitdiffstats
path: root/doc/global/qt-module-defaults-online-commercial.qdocconf
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-06-07 11:03:02 +0200
committerTopi Reinio <topi.reinio@qt.io>2020-06-08 13:41:07 +0200
commit2df31c8f2e044de68898bd744adec676d75b2e7e (patch)
tree274c3158e7c7d76e93c9acd1c885f52a3de141b4 /doc/global/qt-module-defaults-online-commercial.qdocconf
parenta85c7342ad7592f44727cfc4b9a4ed3b1442bb2a (diff)
Doc: Update global documentation config for Qt 6
- Set base URL path to /qt - Define 'qt6' for use in conditionals - Omit \since information for everything introduced before Qt 5 - Make use of the new expandable variables to allow component-specific URLs in commercial templates - Adjust CSS for changes in QDoc's output Change-Id: I74581f0fb49cd176f92d6451c388e7b7ddf1baa4 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'doc/global/qt-module-defaults-online-commercial.qdocconf')
-rw-r--r--doc/global/qt-module-defaults-online-commercial.qdocconf8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/global/qt-module-defaults-online-commercial.qdocconf b/doc/global/qt-module-defaults-online-commercial.qdocconf
index c5bce13609..3d21ea0122 100644
--- a/doc/global/qt-module-defaults-online-commercial.qdocconf
+++ b/doc/global/qt-module-defaults-online-commercial.qdocconf
@@ -1,15 +1,17 @@
# This template uses the default online template for qt.io
# and modifies it for a commercial Qt component
+# URL specific to this component - override as needed
+componenturl = https://www.qt.io/download/
+
# Start of footer - the rest is defined in the default template
HTML.footer = \
- " <p class=\"qt_commercial\">Available under certain Qt licenses.<br/><a href=\"http://www.qt.io/download/\">Find out more.</a></p>\n" \
+ " <p class=\"qt_commercial\">Available under certain Qt licenses.<br/><a href=\"${componenturl}\" target=\"_blank\">Find out more.</a></p>\n" \
" </div>\n"
include(macros.qdocconf)
include(qt-cpp-defines.qdocconf)
include(compat.qdocconf)
-#include(manifest-meta.qdocconf)
include(fileextensions.qdocconf)
include(qt-html-templates-online.qdocconf)
@@ -18,7 +20,7 @@ include(config.qdocconf)
HTML.prologue = \
"<div class=\"context qt_commercial\">\n" \
- "<a href=\"http://www.qt.io/download/\" title=\"Available under certain Qt licenses.\" ><h1 class=\"qt_commercial\">C</h1></a>\n"
+ "<a href=\"${componenturl}\" target=\"_blank\" title=\"Available under certain Qt licenses.\" ><h1 class=\"qt_commercial\">C</h1></a>\n"
# Turn off single-directory output mode
HTML.nosubdirs = "false"