0c82d6a75a
qt-module-defaults-online.qdocconf includes online-specific overrides for some of the documentation macros. This needs to happen also in the commercial template to have equivalent behavior. Pick-to: 6.4 6.3 Change-Id: I2ca3246fbf16cef502e8eada056df6e8db573d5d Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
# 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=\"${componenturl}\" target=\"_blank\">Find out more.</a></p>\n" \
|
|
" </div>\n"
|
|
|
|
include(macros.qdocconf)
|
|
include(qt-cpp-defines.qdocconf)
|
|
include(compat.qdocconf)
|
|
include(fileextensions.qdocconf)
|
|
include(qt-html-templates-online.qdocconf)
|
|
|
|
#override macros for online use
|
|
include(macros-online.qdocconf)
|
|
|
|
#extra configuration data DITA information
|
|
include(config.qdocconf)
|
|
|
|
HTML.prologue = \
|
|
"<div class=\"context qt_commercial\">\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"
|
|
|
|
# Set navigation homepage
|
|
navigation.homepage = "Qt Documentation"
|