Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2355666ybl; Mon, 20 Jan 2020 01:11:05 -0800 (PST) X-Google-Smtp-Source: APXvYqyogaodu8N/+ZkVIap5wrOO1Rp3QErgHpZQgbybpme1HsaWCa7O1sXsu6Wb6gTEBikwCTs9 X-Received: by 2002:a9d:6557:: with SMTP id q23mr14581638otl.368.1579511465271; Mon, 20 Jan 2020 01:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579511465; cv=none; d=google.com; s=arc-20160816; b=ZNCY+cXE7CjsenkBf+vHhHNsoXBUB4deNGfu9yClwUdWtbDkt416lzkzBbB6PRroax oJSzfbc/rd4yiQprc/e0oN6A4bxduR0J9zi5C4nmf4XW5DgKGwNJ1hbJaOVLVNjB8Tj/ GN9rhCRgKKyanxHfD3XToytm/9y+ODB4q6ENoGUQ4/EK50Ym6ByRHRpm8P9wg2a0A7C8 qh+i4eYFMOEhEp8aXSni8zHkRj92ST2PChrl1RMX11Yi0+taJZQw5QPg3L6/C5NAdVeG aWI1TmjvF2bZRiO1iUXFcD/y3L5Jif1uaxTvY/CGY2t5lliihoZckETsnE6TzSDvqSj/ 0YRQ== 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; bh=pDyd37+9FiI2wQCfTPLEPmI7j6pij8Aa5dEk8P42+Bk=; b=iq83+fJ8P4j+RdBJcbIF6+uub8swF/yVczdoB3w39xJQoR93EjHZ/tEqAScsW99EzJ AgbpGNtC7hq1hjFyPjTY1xkRv+6XdErEj5EHO4FnBhXojeWcxgi+OfTRZZGXBhQIFIAs gmzZQuTr1Scvij04owBOfLiw6SQO05djedOht6Objo5hbeMZ0OmXHhAO0lDCNNjO+72r zhwny2ukEKnbnQSLlPrOb+BFY0lI85rtapYwbjQJMHrlhT6AyRr0mxo9jF0igmb6wjqX ip+N+n9k/ZSs52QcMY6D4mzHCq9CBzHZx09PiAeHQPB8vJqBLXDEbOaDsULMQiMnGEMY 8fpw== 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 p6si17472035oig.88.2020.01.20.01.10.51; Mon, 20 Jan 2020 01:11:05 -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 S1726780AbgATJIy (ORCPT + 99 others); Mon, 20 Jan 2020 04:08:54 -0500 Received: from mx2.suse.de ([195.135.220.15]:59260 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgATJIy (ORCPT ); Mon, 20 Jan 2020 04:08:54 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0A8D2B254; Mon, 20 Jan 2020 09:08:52 +0000 (UTC) Date: Mon, 20 Jan 2020 10:08:50 +0100 From: Jean Delvare To: Luca Ceresoli Cc: linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org, Wolfram Sang , Peter Rosin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/26] docs: i2c: sort index logically Message-ID: <20200120100850.001e032b@endymion> In-Reply-To: <20200105225012.11701-1-luca@lucaceresoli.net> References: <20200105224006.10321-1-luca@lucaceresoli.net> <20200105225012.11701-1-luca@lucaceresoli.net> Organization: SUSE Linux X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luca, On Sun, 5 Jan 2020 23:49:47 +0100, Luca Ceresoli wrote: > The index page currently lists sections in alphabetical file order without > caring about their content. Sort sections based on their content logically, > according to the following structure: > > * Intro to I2C/SMBus and their usage in Linux: summary, i2c-protocol, > smbus-protocol, instantiating-devices, busses/index, i2c-topology, > muxes/i2c-mux-gpio > * Implementing drivers: writing-clients, dev-interface, > dma-considerations, fault-codes, functionality > * Debugging: gpio-fault-injection, i2c-stub > * Slave I2C: slave-interface, slave-eeprom-backend > * Advanced: ten-bit-addresses > * Obsolete info: upgrading-clients, old-module-parameters Good idea. I wonder, would there be a way to materialize these group names in the documentation itself? I found it useful when reviewing the patch, but in the long term it would be even more useful if the end readers would see them too. > Signed-off-by: Luca Ceresoli > --- > Documentation/i2c/index.rst | 21 ++++++++++----------- > 1 file changed, 10 insertions(+), 11 deletions(-) > > diff --git a/Documentation/i2c/index.rst b/Documentation/i2c/index.rst > index a0fbaf6d0675..bd0ff9d00793 100644 > --- a/Documentation/i2c/index.rst > +++ b/Documentation/i2c/index.rst > @@ -7,27 +7,26 @@ I2C/SMBus Subsystem > .. toctree:: > :maxdepth: 1 > > + summary > + i2c-protocol > + smbus-protocol > + instantiating-devices > + busses/index > + i2c-topology > + muxes/i2c-mux-gpio > + writing-clients > dev-interface > dma-considerations > fault-codes > functionality > gpio-fault-injection > - i2c-protocol > i2c-stub > - i2c-topology > - instantiating-devices > - old-module-parameters > - slave-eeprom-backend > slave-interface > - smbus-protocol > - summary > + slave-eeprom-backend > ten-bit-addresses > upgrading-clients > - writing-clients > - > - muxes/i2c-mux-gpio > + old-module-parameters > > - busses/index > You end up with 2 blank lines in a row here, ideally there should be only one left. > .. only:: subproject and html > Reviewed-by: Jean Delvare -- Jean Delvare SUSE L3 Support