summaryrefslogtreecommitdiffstats
path: root/doc/global/qt-module-defaults-offline.qdocconf
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2015-08-31 12:13:01 +0200
committerTopi Reiniƶ <topi.reinio@digia.com>2015-10-19 08:22:19 +0000
commit06d90c14b4571184c4ae67067ead9292c94ac026 (patch)
tree4040e9d34ce57c3749f4dc8f6f146d242e2b043a /doc/global/qt-module-defaults-offline.qdocconf
parentafcc26619f642baee9a09151dc8dae5ef2cb9e2e (diff)
Doc: A simplified style for rendering docs with QTextBrowser
Add a new documentation template, with simplified CSS rules that work better when using QTextBrowser as a backend for Qt Assistant or Qt Creator Help. Select this new template by default for offline documentation builds, but keep the old offline template as part of the template files; use JavaScript to switch to the 'standard' CSS when the generated files are viewed with a web browser. Task-number: QTBUG-48322 Change-Id: Ib197896200bb482935f6e9f3a38976133a1e804d Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Diffstat (limited to 'doc/global/qt-module-defaults-offline.qdocconf')
-rw-r--r--doc/global/qt-module-defaults-offline.qdocconf6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/global/qt-module-defaults-offline.qdocconf b/doc/global/qt-module-defaults-offline.qdocconf
index af7afdd96f..36874e8fc1 100644
--- a/doc/global/qt-module-defaults-offline.qdocconf
+++ b/doc/global/qt-module-defaults-offline.qdocconf
@@ -7,7 +7,11 @@ include(qt-cpp-defines.qdocconf)
include(compat.qdocconf)
include(manifest-meta.qdocconf)
include(fileextensions.qdocconf)
-include(qt-html-templates-offline.qdocconf)
+
+# By default, select the 'simple' offline template, suited for rendering
+# HTML with QTextBrowser.
+include(qt-html-templates-offline-simple.qdocconf)
+#include(qt-html-templates-offline.qdocconf)
#extra configuration data such as file extensions
include(config.qdocconf)