From 04fe7af33fdb3c50171b769baa43195e2613a802 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 20 Oct 2015 10:36:57 +0200 Subject: Doc: Improve selection of offline template type Qt 5.6 now includes a version of the offline documentation template with simplified CSS suited for rendering HTML with a QTextBrowser backend. Select the template in qt-html-templates-offline.qdocconf, instead of the higher-level qt-module-defaults-offline.qdocconf. This is better because many projects external to qt5 (including Qt Creator) do not use qt-module-* includes. This way, we can control the template selection for all projects from a config file. Change-Id: I766af422d829f3c9519c5a45093473175363d600 Reviewed-by: Martin Smith --- doc/global/qt-html-templates-offline.qdocconf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/global/qt-html-templates-offline.qdocconf') diff --git a/doc/global/qt-html-templates-offline.qdocconf b/doc/global/qt-html-templates-offline.qdocconf index cd8315aa9a..d5780a35da 100644 --- a/doc/global/qt-html-templates-offline.qdocconf +++ b/doc/global/qt-html-templates-offline.qdocconf @@ -26,3 +26,8 @@ qhp.extraFiles += style/offline.css \ images/bullet_dn.png \ images/bullet_sq.png \ images/bgrContent.png + +# By default, include override definitions for a simplified template/CSS, +# suited for rendering HTML with QTextBrowser. Comment out this line to +# select the standard CSS. +include(qt-html-templates-offline-simple.qdocconf) -- cgit v1.2.3