Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2069112rwb; Wed, 5 Oct 2022 08:35:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM45BKr/IA4XhS562L6/LaIFuiptwiOkrkfAGiaLDzN8+PdTx6dg4WluGHo2/F28oPbJfd2L X-Received: by 2002:a05:6402:350a:b0:452:8c84:8b with SMTP id b10-20020a056402350a00b004528c84008bmr328304edd.93.1664984157158; Wed, 05 Oct 2022 08:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664984157; cv=none; d=google.com; s=arc-20160816; b=o6MKtxds1nkOnjQRxoOKS0pQzMntcic2cxtSQQ2Mp1hvoODmVIbLLfUIZw3ROEg0qC 3jgGVippkvuVt+5jDa6X11hPhsWJwxlQbIS55eDvKJZdoO18buuNw7rGkOyzFKR2jSec nvuD5roSK63XifJ7pgXLuNmGCkn4iH8wuSlJ9+K4PRL8jndBEWKy+4Qumq0YmCh5TLB6 63OPG32/iQMd3sFjAqwSc6+rBL0+18GZSrOpJg/FjDSdJWGxVNwY01c3fhwl9aXYWfTY KnW4fyM3Xv/Gtg26wBvZvOx/mPYpzeZnI32a68FmolkALyEbaCrJSNFf8pvreRatN4gp vXPA== 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=VjxDcYciC3lFxrGAlqEZDzTnDHLSelJNt048RkcHBMY=; b=Vvq1T5aBjKZeq2psvGUQNnwA50xJ2HnpZ0pVUVQAYr1BfS/AdiFb+ooqS3aKesJj2N LAtxCD2/jYDvtWWR1TEkuy5VHJlNmS1QCwFLaUvcb/4M5Wm5Bc9XisvSfbrEHrwP88iV XncGYG79Z2mSVj1HrBjpnb5uZiYjmaF5d6i1O3jFuajQ5WMX5ldRITnwSNVl9s8S0ab8 8x/4NeH7HckFiXLZ9AEtlCO6+jYfjT/dbl3APiLeOhMTeIEnN0ptwyQSC4IT4ub/+uM7 xqMfmeZox5bd9Si9GDs0knNEmfI1RFhlb6YBTXhZco+R07+UAgJEm5PrIZP2cmjYM44W n5Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=CKsbg6p1; 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 b1-20020a1709062b4100b007826cb6f57csi6818499ejg.407.2022.10.05.08.35.31; Wed, 05 Oct 2022 08:35:57 -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=@lwn.net header.s=20201203 header.b=CKsbg6p1; 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 S230314AbiJEPdX (ORCPT + 99 others); Wed, 5 Oct 2022 11:33:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230040AbiJEPdS (ORCPT ); Wed, 5 Oct 2022 11:33:18 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D968CB87F; Wed, 5 Oct 2022 08:33:17 -0700 (PDT) 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 7B8C55BF; Wed, 5 Oct 2022 15:33:17 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 7B8C55BF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1664983997; bh=VjxDcYciC3lFxrGAlqEZDzTnDHLSelJNt048RkcHBMY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CKsbg6p1hGsHRh88fwMCayEbbLl1FIhuRcldtsWskfVttTXGare9fdMzYhEQGgnz/ fMJ6oLeBOvySJnVSmR4jkZz6FzXF06EgyhPXzE00VJ0dN9zYgxkbIZsHdBwMe035Al 0DAONIKXG0uYw/4ZKx1v00OsPvExPvW6FYbTQKWCuZp/e/lQkAk2OBcTKS17eTlhEB i/AjwtWrbTQYIFguNJa1trCnx4AWSLacHbotnGr6ivl0XlvW+R5h6v0wB5KJCg9HfH 9W8ire/xwYFDduFSfOOHIhSekxzKJ87gU/CvxL7aVaP6zEiCulY31lltPOPCMOzSqf +OIh2SKnF7GhQ== From: Jonathan Corbet To: Mauro Carvalho Chehab Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jani Nikula Subject: Re: [PATCH RFC 0/5] docs: Improvements to our HTML output In-Reply-To: <20221005064039.2ed74fa9@sal.lan> References: <20221004201222.281845-1-corbet@lwn.net> <20221005064039.2ed74fa9@sal.lan> Date: Wed, 05 Oct 2022 09:33:16 -0600 Message-ID: <87pmf69tfn.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 Mauro Carvalho Chehab writes: > I would play with the sidebar options used by Alabaster in order to > try to make the TOC more useful. Definitely worth doing; I'm not sure how much flexibility there is there. I'd *really* like to avoid carrying our own theme if at all possible... The right solution might be to actually split the books apart and do the intersphinx thing; I've not really looked into that at all. > On a side note, one thing I miss on all default themes is a way to dynamically > use dark mode. That's btw why I ended adding non-default support for > 'sphinx_rtd_dark_mode' (which also requires an external package). At the time > I added CSS/themes customization support to the build system, this was the only > theme that allowed to switch to either dark/light mode. It would be really cool > if Alabaster (or some other default themes) could honor the user's preference > between light/dark modes. Yeah, Alabaster doesn't seem to have that. Providing that ability in conf.py shouldn't be *that* hard to do; it doesn't use that many colors, though there might be a fair amount of CSS to override. Thanks, jon