Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TxhT2-0000Ny-2p for mharc-grub-devel@gnu.org; Tue, 22 Jan 2013 12:17:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxhSw-0000Nd-5f for grub-devel@gnu.org; Tue, 22 Jan 2013 12:16:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxhSu-00084T-Bz for grub-devel@gnu.org; Tue, 22 Jan 2013 12:16:54 -0500 Received: from v6.chiark.greenend.org.uk ([2001:ba8:1e3::]:47938 helo=chiark.greenend.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxhSu-00084N-6S for grub-devel@gnu.org; Tue, 22 Jan 2013 12:16:52 -0500 Received: from [172.20.153.9] (helo=riva.pelham.vpn.ucam.org) by chiark.greenend.org.uk (Debian Exim 4.72 #1) with esmtps (return-path cjwatson@ubuntu.com) id 1TxhSt-00041B-CW for grub-devel@gnu.org; Tue, 22 Jan 2013 17:16:51 +0000 Received: from localhost ([127.0.0.1] helo=sarantium.pelham.vpn.ucam.org) by riva.pelham.vpn.ucam.org with esmtp (Exim 4.72) (envelope-from ) id 1TxhSs-0004z8-IK for grub-devel@gnu.org; Tue, 22 Jan 2013 17:16:50 +0000 Received: from riva.dynamic.greenend.org.uk (localhost [127.0.0.1]) by sarantium.pelham.vpn.ucam.org (Postfix) with ESMTPS id 5C4353E454A for ; Tue, 22 Jan 2013 17:16:50 +0000 (GMT) Date: Tue, 22 Jan 2013 17:16:49 +0000 From: Colin Watson To: The development of GNU GRUB Subject: Re: Command documentation policy Message-ID: <20130122171649.GB9543@riva.dynamic.greenend.org.uk> References: <20130122170851.1bb50f87@opensuse.site> <20130122171218.GA9543@riva.dynamic.greenend.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130122171218.GA9543@riva.dynamic.greenend.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:ba8:1e3:: X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 17:16:59 -0000 On Tue, Jan 22, 2013 at 05:12:18PM +0000, Colin Watson wrote: > On Tue, Jan 22, 2013 at 05:08:51PM +0400, Andrey Borzenkov wrote: > > Quit a number of commands are not documented. Is it intentional > > (because they are not considered "user level API")? Should > > documentation for them go into grub or grub-dev? > > I spent some time documenting the list of commands a while back, but I > never completed the project: what you're seeing is simply how far I got > before getting distracted by other things. IMO all commands should be > documented in grub.texi. Oh, and to be clear: yes, there are some situations where something is intentionally undocumented (although not really all that many, I think). However, I don't think that justifies leaving it out of grub.texi entirely, because that runs the risk of somebody else coming along later and not realising that this thing was intentionally undocumented. The approach I'd recommend for such cases is to add a comment (@c or @ignore / @end ignore) to grub.texi explaining that such-and-such a command is intentionally undocumented. That way, it doesn't show up for users in formatted documentation, but anyone editing the document will see it. -- Colin Watson [cjwatson@ubuntu.com]