From 616f690761a5329b201a903dc2607818c38e41f5 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 27 Oct 2015 12:12:43 +0100 Subject: Doc: Use a navigation separator in the simple offline template As we cannot style the navigation elements freely with the restricted version of CSS that QTextBrowser supports, we need to inject separator elements between the prev/next page links. This change adds a 'bullet' character wrapped in a as a separator. A rule is added to the standard offline CSS to hide the separator as it's not needed there. Change-Id: I13220a2a60e2d3063f94bc7dff0e4320d0bed4f6 Reviewed-by: Martin Smith --- doc/global/qt-html-templates-offline-simple.qdocconf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/global/qt-html-templates-offline-simple.qdocconf') diff --git a/doc/global/qt-html-templates-offline-simple.qdocconf b/doc/global/qt-html-templates-offline-simple.qdocconf index cd924c64e3..4a65cc3c57 100644 --- a/doc/global/qt-html-templates-offline-simple.qdocconf +++ b/doc/global/qt-html-templates-offline-simple.qdocconf @@ -25,6 +25,9 @@ HTML.postpostheader = \ "
\n" \ "
\n" +HTML.navigationseparator = \ + "\n" + # Add some padding around code snippets, as we cannot # currectly style them for QTextBrowser using only CSS. codeindent = 2 -- cgit v1.2.3