From e2a7293290b7aa7090c4ce2178e35eccaea11a00 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Wed, 4 Jun 2014 14:44:55 +0200 Subject: QDoc: Introduce a variable to set table of contents depth. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -"HTML.tocdepth" variable controls depth value. -setting to "0" disables table of contents. -sections 3 and 4 usually don't have descriptive titles to warrant their listing in the table of contents. -table width and CSS (online and offline) don't support wide entries. -Config class' getInt() function now returns -1 if a variable is not set. -for Qt 5 and projects which use html-config.qdocconf, tocdepth is set to "2". -added variable documentation. Task-number: QTBUG-38967 Change-Id: Ibd612f5b846ecb9c4b575e7ac11605c6efd2b77c Reviewed-by: Martin Smith Reviewed-by: Venugopal Shivashankar Reviewed-by: Sze Howe Koh Reviewed-by: Topi Reiniƶ --- doc/global/html-config.qdocconf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/global/html-config.qdocconf') diff --git a/doc/global/html-config.qdocconf b/doc/global/html-config.qdocconf index 1560db8d98..9b3b05b7d3 100644 --- a/doc/global/html-config.qdocconf +++ b/doc/global/html-config.qdocconf @@ -2,6 +2,8 @@ HTML.nonavigationbar = "false" +HTML.tocdepth = 2 + HTML.extraimages += template/images/arrow_bc.png \ template/images/home.png \ template/images/ico_out.png \ -- cgit v1.2.3