Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2485647rdb; Mon, 20 Nov 2023 12:07:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHm8KgCipEVKuA54vHFyV/MBpqLT/uyGfxPIwpF6gQRCthVypCL9E/ZMe5seKXYfYCiI/K8 X-Received: by 2002:a17:902:d68b:b0:1ca:8abd:6b52 with SMTP id v11-20020a170902d68b00b001ca8abd6b52mr6990355ply.69.1700510857687; Mon, 20 Nov 2023 12:07:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700510857; cv=none; d=google.com; s=arc-20160816; b=utWFsSInf1WU/kUYDmSHPDFCKRP4opi8qcBCIvxDXCWq+2MvUBPI6G6avEzOiWliyP FZvOdiyS3W4AdKAMHhajA1kxfzBuAjzjkpwq3iaIUeBFliWAsB17uqNWq9AnJ319igEx LVnb2wolYccJ3669hlNlX4rgRT1+OPgq1C62Ch09uoALOGVHErPhr2fb1tE9gOK4J5Hb P1Hb0FCU5pGB0seKKWsvO0QyAcSb4GdTjXipK9ldu+A4gTgxE2IkF5E1IDc8H1/3znRU 2QQY0p4TUffBBA0uEORokcMxmNSms+jdNfZIOTSV4DYqJm7wX3acNVXhzpT77Y3+J6pH fOPw== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=bRfqkd4RxAu0O+H3kUNcPvDq1EFIj5jDBMbxvKsAe/4=; fh=s0xr5j2kTUnOCZ9yQASA7lTohKnzvD4HNDSGPH5XzLQ=; b=0Ss02cq/kO5Q4WAxa8oX8OeGTKk4qyp9mqECz016rEHrZXi86+V8DkngZ4eiJy289n GySPfvf2mgNx7w+jNjW+Q/zJZMMxyJ4dZSGfrDn/MSN7FVoEM4KN1aFlbjXEIOrdvgNU k4R8x2/HLUf6AUZIHByDUDNuspWCBiVTNH/nwtCyPCBvaL0g9RDUFQuqeT55rsZ9M0D/ ejtZaHmU1SOD196ulrtMvXUz0pomze1jX3bHM9Y4PfQ89AcOAtZc3+HNwMotfMBsyswi QqkHc/OREe8nNC+XaM50kopg1CwOHYTTwhvicm1m8ri91zQ0FCPW1k5BuzF1O0wUZcIj 69hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZwrlbX4O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id n4-20020a170903110400b001c9db56c09asi8851572plh.144.2023.11.20.12.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 12:07:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZwrlbX4O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2E913802F7E8; Mon, 20 Nov 2023 12:07:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229561AbjKTUHM (ORCPT + 99 others); Mon, 20 Nov 2023 15:07:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbjKTUHL (ORCPT ); Mon, 20 Nov 2023 15:07:11 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 097D2C7 for ; Mon, 20 Nov 2023 12:07:08 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38FDDC433C8; Mon, 20 Nov 2023 20:07:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700510827; bh=qDhVmeRxMwWr07EGDhK+eYCT2EyQYeCpb9U7RNVpTcc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZwrlbX4O71gbSINgSdWtmM9Jt8g9BQ1SOH4d9uRzQuzAIa8QKrXb1gMBsLS93Rr24 +M4eZ6XJEFiuiqjoX6CWktLduWna9Jb04nylaCAJalxbIXmw4Ptg6ktNuKcWm1MChi 1n+OqAgi2ClBIpuyvYE2qKsGLBvZ73t8HBJs4V33c/cx1DWFz1iq4+aKFDV/irBkM9 u/2OZSPeJda7jEnxoV7/geclz0+KqSyLRrtcUSPpukUZd2jdGdhTuUM3PWgi7EplKP GY2ruhmygSJPAaJThHKaYCGLi/5grW5iESxl8dpMjyd1gsdy94zZzgK44vpIGzGKBO FDU2ZM0U2aHdw== Date: Mon, 20 Nov 2023 12:07:06 -0800 From: Jakub Kicinski To: Breno Leitao Cc: leit@meta.com, Jonathan Corbet , netdev@vger.kernel.org, donald.hunter@gmail.com, linux-doc@vger.kernel.org, pabeni@redhat.com, edumazet@google.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] Documentation: Document each netlink family Message-ID: <20231120120706.40766380@kernel.org> In-Reply-To: References: <20231113202936.242308-1-leitao@debian.org> <87y1ew6n4x.fsf@meer.lwn.net> <20231117163939.2de33e83@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 20 Nov 2023 12:07:22 -0800 (PST) On Mon, 20 Nov 2023 11:55:26 -0800 Breno Leitao wrote: > I am not planning to do it, since I would like to trust Make. Let me > know if you think this is important and I can do it also. Makefile is good enough for me. > +$(YNL_INDEX): $(YNL_RST_FILES) > + $(YNL_TOOL) -x # Generate the index > + > +%.rst: $(YNL_YAMLS_FILES) > + $(YNL_TOOL) -i $(patsubst %.rst,%.yaml, $(@F)) # generate individual rst files IDK what @F means, can the tool take one file at a time and then we can make the rule a more usual: %.rst: $(YNL_YAML_DIR)/%.yaml $(YNL_TOOL) -i $< -o $@ ? > +htmldocs: $(YNL_INDEX) > @$(srctree)/scripts/sphinx-pre-install --version-check > @+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))