Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1124349rwb; Wed, 9 Nov 2022 13:14:02 -0800 (PST) X-Google-Smtp-Source: AMsMyM4pFdyQ84Q6NLuNRcfv8d8oqJXqbR0kHoCfpRHjiLhYB2E21C25Jpo7yA7Azt1tHwYfUz8g X-Received: by 2002:a17:90b:2317:b0:213:26a3:246f with SMTP id mt23-20020a17090b231700b0021326a3246fmr65938390pjb.148.1668028441798; Wed, 09 Nov 2022 13:14:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668028441; cv=none; d=google.com; s=arc-20160816; b=hT+5yKBblat7ZoMkRD9CdZT4VHDspoYK39k2GVLWQQcjffbpfJFE5JSeptUQd6z2d5 z8fDq2fA2OlKEddVCQF7HE2y0JlwDqhAHGh83fddh5pWyKU+ZqOexkg7NNoA2u8BvhN8 v3o5buWC4xmtItdLMTlhnAY3v5p+6/wIMzxtPlNJq/R+ovGM4mRnz2/9y1FPVDOBrtF5 7YZfW304qzqLT+dEDt4+VBdiuR0d6Bpwj3Q6KEcVsb2cHgvHsDmXugKiObOdPTT81QeF Bswk26bWhQHtfX2HoyRaekDRZ+KMIMz90wdqHURy7AMy9WYj9g42R3S8mP8S14Xpt+o0 b1Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=wGLPC3XtH96GwGtDKrwRTD/1iXa52FW0QweS8oRlDpY=; b=uQvIdS/PeRaee+CZev/8w7oJfWHWM1sqtPNGjFV0n7VlQjG3qanXdN5ZH7RnT/G0II MLNNcuIB0ea+vRUis/aaRGvGp2brDUudXzRcDjFav9MkSN9+oq4EF0pgLu1sUuuJbZED gGPa2YGbWK7Sa5HlE+mY8zovXbokbgiwiYBxh4xaPAo6KWR5fWTRE9JW2H+slLcR4LRL aOV7PkjaJLR9Tb8tp9D+neZsNAVp+HonjoihJpUorNQIC6sJLDAoMGHjJtUkYkI6+mDz s4PTsqVSmxSDQ0TGSqK0WbUnAEOG1M5Gcf5D599xRNzLn7kaP93PksM5QeNYQ14EiLuf eIUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=qPK2EAw6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf18-20020a17090b1d9200b0020a8db1da7bsi2718142pjb.170.2022.11.09.13.13.49; Wed, 09 Nov 2022 13:14:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=qPK2EAw6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231425AbiKIUaS (ORCPT + 92 others); Wed, 9 Nov 2022 15:30:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230443AbiKIUaR (ORCPT ); Wed, 9 Nov 2022 15:30:17 -0500 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9D27FD14; Wed, 9 Nov 2022 12:30:16 -0800 (PST) Received: from localhost (unknown [IPv6:2601:281:8300:73::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 54F3C735; Wed, 9 Nov 2022 20:30:16 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 54F3C735 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1668025816; bh=wGLPC3XtH96GwGtDKrwRTD/1iXa52FW0QweS8oRlDpY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=qPK2EAw6dWlpkSpiMikN2mqv/flF0gdhmOo0I65UF07hUN/3fkNicOnZJ3Di6YgZT H++xz1PzHGmtMKxr3vwiRd3nz3pTeomlvgBuBREU5Kfbf/wXANOPlGfhjFlmE6Hj4R IKxeiTvR5mPaD9Zs0GRX1jxy2G0hdpZTSdh7GamVLhcbcX/yskb5cGK7p8dI0kWMCy VYaIB0xFaUJ/VjnD9HFW+w/kY2Zewc/+YkHov5Ns1R3CELH3LBAVvPW8XEaG4oOBzK C/7Zn1ezGaCPMLD6iD9NDcOQ5CkxJSiXVNL5nRplKy3hpGj+NAF7H8y+NzA6FrU9Rl +XFb5MAAR9xCw== From: Jonathan Corbet To: Daniel Vetter , DRI Development Cc: LKML , Daniel Vetter , Daniel Vetter , linux-doc@vger.kernel.org Subject: Re: [PATCH] docs/sphinx: More depth in the rtd sidebar toc In-Reply-To: <20221108115707.1232621-1-daniel.vetter@ffwll.ch> References: <20221108115707.1232621-1-daniel.vetter@ffwll.ch> Date: Wed, 09 Nov 2022 13:30:15 -0700 Message-ID: <875yfnlvl4.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Daniel Vetter writes: > We love to nest our documenation for good structure, but that means > the table of contents needs to keep up or you can't navigate them. > > Realized this trying to find the drm property documentation, which > with some shuffling around disappeared. Why I didn't realize we can do > this earlier, no idea. > > Since the relevant parts of the toc are only loaded if you're in the > right .html file there's no harm in going all the way to unlimited. > > Note that this has no impact on the alabaster theme (which has a much > simpler sidebar toc which doesn't show the entire hierarchy, only > what's in the local rendered file) nor on the various :toctree: > rendered inline in the output. > > Signed-off-by: Daniel Vetter > Cc: Jonathan Corbet > Cc: linux-doc@vger.kernel.org > --- > v2: Rebase onto linux-next, reword commit message to take into account > that alabaster is the default now. > --- > Documentation/conf.py | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/conf.py b/Documentation/conf.py > index c715610d6297..a5c45df0bd83 100644 > --- a/Documentation/conf.py > +++ b/Documentation/conf.py > @@ -296,6 +296,10 @@ if html_theme == 'sphinx_rtd_theme' or html_theme == 'sphinx_rtd_dark_mode': > # Add color-specific RTD normal mode > html_css_files.append('theme_rtd_colors.css') > > + html_theme_options = { > + 'navigation_depth': -1, > + } > + > except ImportError: > html_theme = 'alabaster' Applied, thanks. jon