Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp17021img; Tue, 19 Mar 2019 16:45:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGseMcQLE0IA4V+BASN5Qznm9t4Kf3nbac4v/aOHxq59SL1tdiIf+tlrNOOBiVITkTAkac X-Received: by 2002:a17:902:6949:: with SMTP id k9mr4500306plt.275.1553039116256; Tue, 19 Mar 2019 16:45:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553039116; cv=none; d=google.com; s=arc-20160816; b=YDW4Bf/I73SfdHPPWxBt4FwTaTCCeCGp3bwrluukIRPElvvYvrNhWTF/7oA+2paZqX K9KXSlDGc67/Z7R4hZ+TWwNQOaOup7CDRCx8gYiipiPC1yDTbHCRrdBZABegRJjSOygP xQ9hmtaFqrShiXjiTfKfl+9TbO8vIvliLkDXkRrDryL5g3cZnR0QRk2BRtm/TccaRooV ago+/yMKKu5HVH0F6YyLxmOHbszwMSR/Tig1SjgIBvxZKcDO2RmLqGTIQX4eGz0VKt57 6trHP1FrAkGunZu3MenkDjpOvHCv6mMWNvVjxDofehrjzzv/1yyjpr05/5u1bc9H37k/ kPow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=qqJ6zqZmUagpeXC3C8lhNrNZsRPXOhhM2nwEO+EJZF4=; b=sGxk36cengy8RXQFc7lOqiYp+2kLFWdxGT92rULfHXoGxEPK2x+uYikeloH6SmzdoW i1hPO1NR9cfefWo+p7NzQhcYushRTFuh4p06bMHrN1uve30CkgDXN7mw0utYDm6Mdyjw mVRKi25d5hVku742qvXL8BhXDmq8UdpqDtjB9nONa0U2G+dRY8aQXs+SGIRuwSjc+/O8 rBjjCKZQgz4TSlVcOFH/J4noUr6/JHlX7mKnxWs9xmaysjIZ7he7/7Jx/+JdyD9dZVEV d9ny0e8cYnY9y/MAa/ixT+EKU6WPgs0ctotCuz9dstI4oOhTu7583JL4n5/cL7CXezEq loAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tobin.cc header.s=fm2 header.b="EIs/rzWj"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=fftpdjCh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n18si221370pfe.166.2019.03.19.16.45.00; Tue, 19 Mar 2019 16:45:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@tobin.cc header.s=fm2 header.b="EIs/rzWj"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=fftpdjCh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727394AbfCSXm7 (ORCPT + 99 others); Tue, 19 Mar 2019 19:42:59 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35403 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbfCSXm7 (ORCPT ); Tue, 19 Mar 2019 19:42:59 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1C58F21FDA; Tue, 19 Mar 2019 19:42:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 19 Mar 2019 19:42:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobin.cc; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=qqJ6zqZmUagpeXC3C8lhNrNZsRP XOhhM2nwEO+EJZF4=; b=EIs/rzWjPwF+u7x3P8q4V9Gk8LZPc3kCmQFKdDWf7+n cdTpAB+XTZqgZeuVcmxTb1elW9xwSuI/mropTJCDVt/IAUWBL3Y00NX5u4j36OBD 3oWIQZyq6e+/X3EMkwpqfU7x4G00FwFyRY6EEudiOWBXJQxiQV7fLWj3yEFCCfgm oMxEacJWPQuHoWmGyXxeFJTtQI+8X1pM/u9eoXHEdfDb2YRWgoR3Ye65W5MIPnue a9vzXtQc713zlhmJywdsXDTyM+lnIMNTXHOUm0bFoNaKW3VJSg3pLPAtfKHz68Qi 9FPL3jgGxIex12ld9qRnVraKbhX08iKyGk0woXC8fgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=qqJ6zq ZmUagpeXC3C8lhNrNZsRPXOhhM2nwEO+EJZF4=; b=fftpdjChmY44lpCyg2Fytw erCjo8Ij+iJwltDgi9dshsnqTioklEk6BqmwssCxVbmaEAhOYFi2508esMMcVTxh TC3bU0oS+yKIDNwu3b10PanKDhG2T5aCriVIFCa891irE2yEKOAvqgIRApVByzp+ sIJOigF314I+kczt3QUsgqQNI/pLZf0ZE801dNQV1D7Db8wgeS2pGR433f7igA6t vpmqow3vCKV0xQ+2NrMjcCOpWLZbZ9Rr19WAI/vWIeDiRy8yRWtb3FsUNtev/AkR 0qMk+ehf2eijeRlZY45vVKwZXuqZTCcDlObjOvyC21CbDI6e0Az0IVM3sL6Vjo1A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrieehgddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjofgfsehttdertdfo redvnecuhfhrohhmpedfvfhosghinhcuvedrucfjrghrughinhhgfdcuoehmvgesthhosg hinhdrtggtqeenucfkphepuddvgedrudejuddrfedurdduhedunecurfgrrhgrmhepmhgr ihhlfhhrohhmpehmvgesthhosghinhdrtggtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (124-171-31-151.dyn.iinet.net.au [124.171.31.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 1D715E4014; Tue, 19 Mar 2019 19:42:54 -0400 (EDT) Date: Wed, 20 Mar 2019 10:42:00 +1100 From: "Tobin C. Harding" To: "Tobin C. Harding" Cc: Jonathan Corbet , Randy Dunlap , linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 09/13] docs: filesystems: vfs: Add code-block and txt->RST Message-ID: <20190319234200.GA13178@eros.localdomain> References: <20190318231437.1666-1-tobin@kernel.org> <20190318231437.1666-10-tobin@kernel.org> <20190319013526.GA30001@eros.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190319013526.GA30001@eros.localdomain> X-Mailer: Mutt 1.11.4 (2019-03-13) User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 19, 2019 at 12:35:26PM +1100, Tobin C. Harding wrote: > On Tue, Mar 19, 2019 at 10:14:33AM +1100, Tobin C. Harding wrote: > > Use code-block for C source code. With this in place we can rename the > > .txt file to .rst. This introduces a few warnings that will be fixed > > in proceeding patches. > > > > Add '.. code-block:: c' to C source code snippets. Rename the file to > > use rst file suffix. > > I just realised that a better way to document these structs is to do so > above the actual struct definition in the source file then include those > docs in the documentation file. Please either drop this set or only consider patches 1-8 for merge. I haven't worked out _exactly_ how to move the docs from Documentation/filesystems/vfs to the source code files but I've played with it enough now to feel it is possible and it is definitely better. Just have to massage Sphinx into agreeing with me. I thought the whole reason we have docstring comments is because we all agreed that docs close to code hove more chance of staying relevant. vfs.txt proves that nicely (docs in it from 2.6 for structs that are actively used and developed). Sorry for the noise, one day I'll work these things out _before_ sending the patches :) thanks, Tobin.