From patchwork Mon Dec 2 20:49:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 296012 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id CF2DF2C0092 for ; Tue, 3 Dec 2013 07:49:40 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 07DDA8A8B6; Mon, 2 Dec 2013 20:49:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S+5kcLRuoCAB; Mon, 2 Dec 2013 20:49:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1FD0B89742; Mon, 2 Dec 2013 20:49:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7A73B1CE724 for ; Mon, 2 Dec 2013 20:49:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5C8458A380 for ; Mon, 2 Dec 2013 20:49:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 90Nw2bCHqgch for ; Mon, 2 Dec 2013 20:49:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1B113899D5 for ; Mon, 2 Dec 2013 20:49:32 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id hn6so1050563wib.0 for ; Mon, 02 Dec 2013 12:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=u9Ns74ac782yENKjeClRGoShr1rcNzY1+hClftw6ozY=; b=wXrqp42dfhWyuiaQLmuL0AxUmrjE5E4nwS7ncrGrYhaOGYZery30tJPcFJaOL78Wxh YNeloKrYeeYvxCHBZBOQJmKXj9lhgM3zzyNUXBEOwKwQmei5t/auHe3xvJkCoH/6zJKz C06rWLxFNUx2MwrI7qcnaDkcCvo33QsnbdMrUgvjU67PjAJI7xIvzb7NRMwLn90uQF6F vzjGN9pavs7h3JNZu+0iKCrrirBBccVXNMfNqt4kYHl+17Z4v/mg4OT2CcsItG09obO4 hktLHLDo/kZAgwzbc9mlh/UGHdhh8hv+VBQ3g3mzXdTDpr6cq7ZwUJ8JGY8YvFaGEi6f WwBg== X-Received: by 10.194.172.105 with SMTP id bb9mr3980930wjc.45.1386017371652; Mon, 02 Dec 2013 12:49:31 -0800 (PST) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id pi6sm126278963wic.3.2013.12.02.12.49.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Dec 2013 12:49:30 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Mon, 2 Dec 2013 21:49:27 +0100 Message-Id: X-Mailer: git-send-email 1.8.1.2 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 1/2] docs/manual: limit the depth of the TOC in the HTML output X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: "Yann E. MORIN" The current TOC level is set to 4, which does not mean 'a 4-level deep TOC', but really means 'a TOC deep to the 4th level', with the first level being level 0, which means we have: 12. Appendix 12.1. Makedev syntax documentation 12.2. Makeuser syntax documentation 12.3. Partition table layout description syntax 12.3.1. The global section Properties for the global section Which a bit too much. And yet, the fifth level is not shown, since we don't have any! :-/ Limit the depth of the TOC to three levels, which is just enough to be usefull, yet not cluttered by low-level titles. Signed-off-by: "Yann E. MORIN" --- docs/manual/manual.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk index aeafd10..0926566 100644 --- a/docs/manual/manual.mk +++ b/docs/manual/manual.mk @@ -72,8 +72,8 @@ endef # The variable _SOURCES defines the dependencies. ################################################################################ define GENDOC -$(call GENDOC_INNER,$(1),xhtml,html,html,HTML,--xsltproc-opts "--stringparam toc.section.depth 4") -$(call GENDOC_INNER,$(1),chunked,split-html,chunked,split HTML,--xsltproc-opts "--stringparam toc.section.depth 4") +$(call GENDOC_INNER,$(1),xhtml,html,html,HTML,--xsltproc-opts "--stringparam toc.section.depth 2") +$(call GENDOC_INNER,$(1),chunked,split-html,chunked,split HTML,--xsltproc-opts "--stringparam toc.section.depth 2") $(call GENDOC_INNER,$(1),pdf,pdf,pdf,PDF,--dblatex-opts "-P latex.output.revhistory=0") $(call GENDOC_INNER,$(1),text,text,text,text) $(call GENDOC_INNER,$(1),epub,epub,epub,ePUB)