Received: by 10.223.185.111 with SMTP id b44csp577363wrg; Fri, 9 Mar 2018 09:42:35 -0800 (PST) X-Google-Smtp-Source: AG47ELt0Xgk3OJknIla/Xp/2Ly29mVpqPrnV491+GB33vUvPY1rMTZOkIx23q8K81on41n9nOy/D X-Received: by 10.98.72.10 with SMTP id v10mr30771837pfa.148.1520617355019; Fri, 09 Mar 2018 09:42:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520617354; cv=none; d=google.com; s=arc-20160816; b=uDI14jwbPiQleg+ztyByVIP1A1FWn9tba8xdZ718d7fzDreW5kgr+xKNJ/gec+tyUe DSn4cUlcEfgJHo6df1oV/itOUoKRavDo0ovNQlDj+S825xHXIsumnlfEhHp+TErysWmR B8i4CBtlbifWIU8i1dc4Gqt9l275mytoD1yMeWQi5Ig1JaD6vbRaK4fMQr9SHoKTTD+Q b/FCDdRJpyGSxeJ/cbigTNlb+g99Dduvp9TE3csYUqS/e++JxpCDuOaMv8EMSNACrHV+ TgFAzUwW1SkvQ+VV8Kwem5fE+JWGYDFZx2jV7uVBbR5UQ/MVUmlChfCEQHUQiNVDfgtD V/1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=MkqkOvBC9GpC32PyX9xN9vb5llJE77YP9KX95CAsICk=; b=LPat032d+nYeYT2IxrZukTgJUPCkxrDWvcS429JS7WPQKqvRjdj8Pxx+/HPq73R5Uy HA8SEYk6Ap7FzdLQ0oMXrBKjW8naKvhUiNxM1AJOGOeWO42Cl0G/iAFpiLwNEt1HCood vwq0AwAINY9LjL1ZLQxaQxRWiE1Qh//rPeRfd8ZfLLCMwcct5Z/PjGBHZeAC+xnCwO+Q T2PPXI7p5FGcN7spqtcnLsxPok47vphNmq2dJ0Z71wvtrk+PeVwvy5u9c3aXsqJy0LvG GfpmJyyibBto9H++tHwD+yTtdZ9RYvuC2kICRDbOlgabIuiFtyXQ6xEKqJ4WaCyncB7r OKhQ== ARC-Authentication-Results: i=1; mx.google.com; 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 s19si982688pgo.626.2018.03.09.09.42.18; Fri, 09 Mar 2018 09:42:34 -0800 (PST) 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; 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 S932243AbeCIRlX convert rfc822-to-8bit (ORCPT + 99 others); Fri, 9 Mar 2018 12:41:23 -0500 Received: from ms.lwn.net ([45.79.88.28]:50118 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751255AbeCIRlV (ORCPT ); Fri, 9 Mar 2018 12:41:21 -0500 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 0E2021307; Fri, 9 Mar 2018 17:41:21 +0000 (UTC) Date: Fri, 9 Mar 2018 10:41:20 -0700 From: Jonathan Corbet To: Jonathan =?UTF-8?B?TmV1c2Now6RmZXI=?= Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Linus Walleij Subject: Re: [PATCH 0/8] Move most GPIO documentation to driver-api/gpio/ and ReST Message-ID: <20180309104120.40244f8a@lwn.net> In-Reply-To: <20180308234024.24145-1-j.neuschaefer@gmx.net> References: <20180308234024.24145-1-j.neuschaefer@gmx.net> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Mar 2018 00:40:16 +0100 Jonathan Neuschäfer wrote: > The aim of this patchset is to move the GPIO subsystem's documentation > under Documentation/driver-api/gpio/ such that it is picked up by Sphinx > and compiled into HTML. I moved everything except for sysfs.txt, because > this file describes the legacy sysfs ABI, and doesn't seem to serve much > (non-historical) purpose anymore. > > There are still some rough edges: > > * I think the API documentation (kernel-doc) should be moved out of > index.rst into more appropriate files. > * The headings are arguably wrong, because driver.rst, consumer.rst, > etc. use the "document title" style, even though they are part of the > GPIO chapter. But the resulting TOC tree is consistent, and I did not > want to change almost all headings. > * Some of the files could use more :c:func:`...` references and general > ReST polish. > > But I don't want to make this patchset too large. [For future reference, if you're going to CC me on most of a patch series, I'd really rather get the whole thing so I don't have to go looking for it.] From a quick look, it seems like a reasonable RST conversion to me. I do wonder if sysfs.txt should just be removed, since it documents something we don't want people to use at this point? Historical purposes are well served by the repository history. I'd say changing the headings is worthwhile if it produces a better result. OTOH I'd be wary of adding too much "polish"; we really want to retain the readability of the plain-text files. Anyway, I'm happy to take these through the docs tree or see them go via GPIO; Linus, what's your preference? Thanks, jon