Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1039692rdb; Tue, 30 Jan 2024 06:22:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsoRk6XtOESnjlayIYKv7fySTDZXBKdZYAwzl3rGQq28imAxb7seLxSjWhQw4f2CNfkfvK X-Received: by 2002:a05:622a:11d4:b0:42b:e1b3:687c with SMTP id n20-20020a05622a11d400b0042be1b3687cmr282077qtk.17.1706624559882; Tue, 30 Jan 2024 06:22:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706624559; cv=pass; d=google.com; s=arc-20160816; b=G66oyh9QlRoPPuyl1dtKG+lVqMMpqFxYgU5XrqThp5hBSE1IK3Eymf2OeUASaljgpL 8+vwh+sGePXi9SwRxNqkIrmhKf2NFLwY5l296UXI2+bYFTA1/qH7aQCpI9xxTaNfPLNr jBnGc4eGuryHCZ/wg7+gM82Hpfij7IDyhJg0odXVZa9E0KYp63FvXBS/IUPLtVt4xyk3 yzL6WCMOEwQgtsOsgZ9nImv9lNjU+XOG7UWp9h6JbAISa0xuyz16daoyfqXD99NsAL9O JKctKWDb8oZ8hMNGp+m8mlwk6FTAE8piP3Cpg8+2CXe3kgwRdSErFT+zfIFwhr+gWG+p kc0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=LRJd8PXbeyglrfd0aYEb8xott5XUDLLLBejxVX91ujI=; fh=Z56nIH9rQfqW+1nfQoL3fDkTwnub4dVVdSDnu+6/kL4=; b=VYEYHyWGB/C352uSHTK0XsL1YS/M7Q092aghPdiCEdTUsNKDgQCYnFjL2mF3XfmCg6 4DTmYoSt37SN3AiMQIEtnEeEzUn+DYlEKZs4Aj6j4AcKvxlcQqPv+zyU6p+cJ8unSRQg 8hF+EyPt9dItlSYGacU39Zldt/zSIjsWsUBJuS3+0Zks4iPyrys3j8VTPbOV95TUz0c+ U459dkkcj1tOSltqdGHeQK3HeYfcZ+ZR2ZA8CTyxF+YOxSBPPBHCEB1cn6zvxc47bOjq BnF82X8vDG3rDkeeAZxRIL050w+iiv6SOimmSekgczqzcYezrAQ9YYq9BwL2bVypTbJ5 yK2A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=bUiPb6WF; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-44742-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b10-20020ac87fca000000b0042ab38d00e2si2051356qtk.218.2024.01.30.06.22.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 06:22:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44742-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=bUiPb6WF; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-44742-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A14A91C25C13 for ; Tue, 30 Jan 2024 14:22:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42F166F086; Tue, 30 Jan 2024 14:22:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="bUiPb6WF" Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8BCBC6E2AA; Tue, 30 Jan 2024 14:22:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706624538; cv=none; b=ZvEzhtSeLYB7f//ZwbPX8u01SL8HZOSDdj/iKx87FKI7RNW1otoqhxNoPkO24elZPlaWUmSReitC1G8lwV0ilwhPNnJvfCKscCVx+VG0PjLf4rsnuCRQJN1OVp+NOTPN5VoxQoBgChf3YZ6yzimEIhlSq+tcB85bHIyanTOdJkg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706624538; c=relaxed/simple; bh=kFWxblNSjHD+cbzRAEcBA2MhN+GXikvkOgx5Epvujdc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=CLZhq6Z+9V0Nhum5Wt8FK54n1uhSp5NACxJGV7CbDPU//8CFWFfZw4u87XcIx5bLoTl4+3iMB/6o9JO9gThN+0ufNVuZglEnjkVFIMh4wCoGHpjFjPZWBS1z0LqRThZdTbq950abwpl9Qm4LE5AFvJFFUQg0ZwixJ7yxmBk3Y+E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=bUiPb6WF; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 8C58E47AA5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1706624529; bh=LRJd8PXbeyglrfd0aYEb8xott5XUDLLLBejxVX91ujI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=bUiPb6WFkF+jj18AUbYpvNSHoLPwgJ5iw3M6uKAKA9ZzTbkFs+tLl4SHbRizrNo6Y B6nrxy2R8Jh9S0UhqVm/cXODSvf6g5N2AZBfv8WPKfgwR4QHP6XHtBGzOR9EJgO+ca 8vqetC3JjOQm0rsf0qhPAA+j7W5KH9J0DMq6NwU/f2brynxv8r1xMtib9O8sQnN1Kq EIONzTR/BSIHtH3xDaZJTarfzaa3lQHXe1SaU6k+r009+s553geLu4IxjErriGBNNG Pm012VaQfb/9enJTcU71Z4F6E6ppaE3Te2DykGbt5uF79gYwyoKVK1lHtn2bGN7UiQ Cr8RkE33tn/Zw== Received: from localhost (unknown [IPv6:2601:280:5e00:7e19::646]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 8C58E47AA5; Tue, 30 Jan 2024 14:22:09 +0000 (UTC) From: Jonathan Corbet To: Jani Nikula , Breno Leitao , kuba@kernel.org, "David S. Miller" Cc: linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, pabeni@redhat.com, edumazet@google.com Subject: Re: [PATCH v3] Documentation: Document each netlink family In-Reply-To: <874jevjgvo.fsf@intel.com> References: <20231121114831.3033560-1-leitao@debian.org> <874jevjgvo.fsf@intel.com> Date: Tue, 30 Jan 2024 07:22:08 -0700 Message-ID: <87jznqewa7.fsf@meer.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Jani Nikula writes: > On Tue, 21 Nov 2023, Breno Leitao wrote: >> This is a simple script that parses the Netlink YAML spec files >> (Documentation/netlink/specs/), and generates RST files to be rendered >> in the Network -> Netlink Specification documentation page. > > First of all, my boilerplate complaint: All extra processing for Sphinx > should really be done using Sphinx extensions instead of adding Makefile > hacks. I don't think it's sustainable to keep adding this stuff. We > chose Sphinx because it is extensible, and to avoid the Rube Goldberg > machine that the previous documentation build system was. So I feel like we've (me included) have kind of sent Breno around in circles on this one. This *was* implemented as an extension once: https://lore.kernel.org/netdev/20231103135622.250314-1-leitao@debian.org/ At that time it seemed too complex, and I thought that an external script would lead to a simpler implementation overall. Perhaps I was wrong. I worry that a proliferation of extensions adds its own sort of complexity and hazards - look at the things Vegard has fixed recently, for example. Relatively few people can work in that environment, and extensions can make our version-support troubles worse. So I'm not fully sold on the idea that everything should be an extension, especially if it can be expressed as a simple dependency and build step in the makefile. Some of the uglier makefile stuff we have is a different story... Anyway, I apologize for my role in making this particular addition harder than it needed to be. Perhaps, for the future, we should put together and agree on a document (of all things) on how we think this sort of functionality should be added. Thanks, jon