Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp470137rwi; Thu, 27 Oct 2022 03:54:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5T8oeG0PCw1Q24FSyyfutzY444nLeP4WmKBcQQwLmWqho1zRedYeYZPKWkqkVl+abikWk/ X-Received: by 2002:a63:2221:0:b0:43b:f4a3:80cc with SMTP id i33-20020a632221000000b0043bf4a380ccmr41089604pgi.367.1666868092047; Thu, 27 Oct 2022 03:54:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666868092; cv=none; d=google.com; s=arc-20160816; b=GL16POY+cCXcUuEWwH5A8KwiJfYrQWy1TfR9vfBnngRNq/J26KqUoaD6H0iTu/Kh3n TleeSeaVoIU8b6jDdD+L7vqAlYuQdvoOOuzyInenZk4VmmzHFGMgz+tdLA3+eHAaMOPA 7UiJ2/qAdE/F8VyIEcOG58wkT26+Z+IZ/KzLui9E2+gDgHlqazfWA6Pu6yg0u3YzPFYQ ZYqk1Og50C78y58ZjljGmUB3k6FymmHUHbm5MASfuBi9efMpJ5yjc5QSEa5zJFLffD8b Y3olN7Ag37YMhA97Vyf+vDf+lJwQoPeLfrW3OS/GKdeCrknEdM35+lS1A5sCxlmYk1/o /TrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=giuiXYYLk+f5QLS50ASlMusr4jOA07sul4BoLmCP2Tg=; b=0Opu1Ogj5ouMhLial2KRLOfEaY907Uq3i4Y439BCYk80CT8X456orYynxa39aMLa3Q qBXj4yN2x7vLp/NQszz+meAuMk6BSkrXKv/iZFHWCJhifZGRM9y8puoFfwB455H8YloB fcElPBoa9MgyQFsDNC+pZvQFsQjiMfn488TZHUz24sCvUqL8miyRxjAsAXWuQrZLU3PF 3L/YwljKXAFr11YvMjkv6krwhlmiFfNXcSv/BnNw6iVpj7UJvPx0gfXrwnJxNMQ5TaG8 aYRFyYv8CnsQsnpjozjaqjYUy0ko+044eaR2lPLe8vdVYYn9CtzsTvRHvT988DPaXHLq wMLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=IN9rKSLQ; 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 b14-20020a170903228e00b00186a2274386si1380440plh.469.2022.10.27.03.54.40; Thu, 27 Oct 2022 03:54:52 -0700 (PDT) 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=@ffwll.ch header.s=google header.b=IN9rKSLQ; 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 S234955AbiJ0KoO (ORCPT + 99 others); Thu, 27 Oct 2022 06:44:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233548AbiJ0KoM (ORCPT ); Thu, 27 Oct 2022 06:44:12 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 760DDA87AE for ; Thu, 27 Oct 2022 03:44:10 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id b12so1959485edd.6 for ; Thu, 27 Oct 2022 03:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=giuiXYYLk+f5QLS50ASlMusr4jOA07sul4BoLmCP2Tg=; b=IN9rKSLQysrc1zS8/Aoy0aq5vrB08zsUfVBZNbxbclZikymid0Wk8I3Lp7v/HwF4GB rV8Ar7hRJgWBBNYj406pMQkOXFslXJbPhUoLOUPKAWyYwJWp1C532zZC3zoKvfAHbSjS KRHuRUanvg2fCyM5XUnSGVsrL4XRBVeVYoWHY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=giuiXYYLk+f5QLS50ASlMusr4jOA07sul4BoLmCP2Tg=; b=C+lmwW2QAveiUPhSTbFS304ctbzud9hXgpPW9Io+EWJlsmhizjmAw4H6ntebApcwVK 4u7IXLt6i9qxnci3U4BJGWMtwVQc+nMGQHjTEMyZpNhekk3MCMoiKRTQrlMrY8/rlvF2 IMHA+YXR33im4Ot4R9d4EZuNKMIlI3lpEV0QIRfNi3wmmZEK8OudKatfip5D2htHa/+E uQDvaDjg8MoqGauCzV5hiEHAGqlaYAORSbLcsialJTphQecDPRg6E2vU//hkJdyCngDB y1ONsZt6cvhmugEIPLJK5P9w1ypL0yDnbEjspqiNR7sUNocCz3Lq/kVmqdfqknNuQW8V l/8Q== X-Gm-Message-State: ACrzQf0vv4ziWxNOyNWjpv2xGd2UKFKgSoklWNfMezPC+ckeL/chbK8F ikkqP7QYgVADEPBESB9N5FBqezZISwSpdQ== X-Received: by 2002:a05:6402:5291:b0:45c:3f6a:d4bc with SMTP id en17-20020a056402529100b0045c3f6ad4bcmr44696532edb.285.1666867448979; Thu, 27 Oct 2022 03:44:08 -0700 (PDT) Received: from phenom.ffwll.local (212-51-149-33.fiber7.init7.net. [212.51.149.33]) by smtp.gmail.com with ESMTPSA id n1-20020aa7c441000000b00461c6e8453dsm774012edr.23.2022.10.27.03.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 03:44:08 -0700 (PDT) From: Daniel Vetter To: DRI Development Cc: LKML , Daniel Vetter , Daniel Vetter , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH] docs/sphinx: More depth in the rtd sidebar toc Date: Thu, 27 Oct 2022 12:44:06 +0200 Message-Id: <20221027104406.549734-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 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 classic theme (which doesn't have the sidebar) nor on the various :toctree: rendered inline in the output. Signed-off-by: Daniel Vetter Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- Documentation/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/conf.py b/Documentation/conf.py index 934727e23e0e..5dc141c66726 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -240,6 +240,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 = 'classic' -- 2.37.2