Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp818595pxk; Thu, 1 Oct 2020 14:50:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCf3rAebGDmGxs3/Wn9Y7J89ERG6HXtLH6/BF/dzJPQjCzP6hIKtoRcOnJvGJ7vlljqP5O X-Received: by 2002:a17:906:1b11:: with SMTP id o17mr10850081ejg.67.1601589019344; Thu, 01 Oct 2020 14:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601589019; cv=none; d=google.com; s=arc-20160816; b=ccbwY7WFT98S7VKznb4H2d2OWAcCgXTCeslIeSJeOPTfBZeHAP52yU0agSwuCADLki IqjMeVWY668FRl9YYU0DPrbqjEUAPcahOQYhtOai2f1siiNgmPgxj9fQLta1rdUTav00 pI8B75xFc2ET/d6b1cYwQWtW4tGi0MMEi6tHXiXxZgAvW9KhZQAHkf70NfnDv0dnV6n+ Vx1qJi5Xll8G015j8FNEiUTB+K3qpGocS90aGSce6zXakoNBSPYmLXkXlZjNhffQtEIw eEFSUDzuvkRGfdT65wMVO4E7xSwI03rvEtVlu2+1P6mQ2/YiPmhY515pu2Qfbu8h4qcq EYCQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=0fHOAM6N7bPwVqm/mZOA61ahvtkF1G3zDaHljK8YFO4=; b=jHfxvzv9Aq3NUc97xKpFmnJDC/tHpRXhR5CqoUVmxRmmhY/TB9fgCeRl1k0jfSvIkU alr0qh2dHyhl7+BKRL+lHuoiQ8Uby1rb5jjzWeiEeHs83fzXTByN35z3ZqsviRpczvut eYogvwV4bGKlKJ+7wccS31b8QPpNRxUCA7ewvO7jnK49mYjRvT/KxP/G3POyYM4UWlDb M39QIskLyg7wwuCyWolOlYgWpCxtdbNXdcli/bPBhVo215G3+qwjqCZpgX/3UCAcX1g2 DFK02p7I82ryTQjh/WCpobAFpUcu6nLEvQTIxw5b5c7d4OdJzzmXFVEYUPFRmhuJ9q3/ 7qvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy25si2468494edb.440.2020.10.01.14.49.56; Thu, 01 Oct 2020 14:50:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733025AbgJAVtA (ORCPT + 99 others); Thu, 1 Oct 2020 17:49:00 -0400 Received: from ms.lwn.net ([45.79.88.28]:39408 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726626AbgJAVtA (ORCPT ); Thu, 1 Oct 2020 17:49:00 -0400 Received: from lwn.net (localhost [127.0.0.1]) (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 DA37E60C; Thu, 1 Oct 2020 21:48:56 +0000 (UTC) Date: Thu, 1 Oct 2020 15:48:54 -0600 From: Jonathan Corbet To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , linux-kernel@vger.kernel.org, "David S. Miller" , "Rafael J. Wysocki" , Alexander Aring , Andrew Morton , Anton Vorontsov , Colin Cross , Daniel Lezcano , Daniel Thompson , Daniel Vetter , David Airlie , Jakub Kicinski , Jaroslav Kysela , Jason Wessel , Kees Cook , Maarten Lankhorst , Mauro Carvalho Chehab , Maxime Ripard , Mike Rapoport , Moritz Fischer , Sean Young , Stefan Schmidt , Takashi Iwai , Tejun Heo , Thomas Zimmermann , Tony Luck , Viresh Kumar Subject: Re: [PATCH v4 00/52] Fix html build with Sphinx 3.1 and above Message-ID: <20201001154854.4311d46a@lwn.net> In-Reply-To: References: Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Sep 2020 15:24:23 +0200 Mauro Carvalho Chehab wrote: > This series add proper support for Sphinx 3.1 and above for building the html docs. > > This series comes after the one I wrote fixing the warnings. > > With this series applied on the top of next-20200922, there are just 12 > warnings: > - 2 of them happens also on Sphinx 2.4.4 > (both seem easy to fix: I'll send later fixes for those); > - 10 happens only on Sphinx 3.2.1. > > The new warnings are all due to duplicated C domain cross-reference symbols. > > Basically, the C domain on Sphinx doesn't allow to have an struct and > a function with the same name. I opened an issue on Sphinx.: > > https://github.com/sphinx-doc/sphinx/issues/8241 > > Hopefully, some newer version may have it fixed. > > There is still one thing that requires a fix: the automarkup.py. The > way cross-references are stored with Sphinx 3 are different. > I didn't try yet to address it, but I suspect that it shouldn't be > hard to address it. Modulo my comment on part 4, I think this is what we want. It's kind of unfortunate that it's all necessary, but that's the way things are these days, I guess. This part is a bit intimidating, though: > 288 files changed, 1709 insertions(+), 2183 deletions(-) Should we maybe position this as an end-of-merge-window blast, once other stuff has hopefully mostly settled? I can certainly warn Linus that it's coming when I send the main docs pull. I wonder how soon we could pull our minimum version forward to 3.1 and drop a bunch of stuff? I fear it may not be for a while, alas... Thanks for doing all this work, jon