Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp691644pxa; Wed, 5 Aug 2020 10:25:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNbaP3mqg1jD7lPhsI48Jnbf6OAtfhOiyPEq2XNuJ2C17LmeB7QIclIiKfHLN8N1ri0RGn X-Received: by 2002:a17:906:817:: with SMTP id e23mr285053ejd.203.1596648327228; Wed, 05 Aug 2020 10:25:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596648327; cv=none; d=google.com; s=arc-20160816; b=UaVxwc61Ekr/LxE2yiYIw5qZLzzRIbeNzaMbgnFeuWCNwtVbf+Kd1rmSBF4hvS7Led DGJVzwgfImC67dZLE+GVAnTYE8v+GBZy2CD4JTV0qt9ih0NiVA4Xx0VwMvL4sO9ZPKxu iG1kWhDBEMeqCxpmK5Akvo3QbjsDhS3J2t3qk0ueA2XB79HcXCKyl0huWukldk/KAiin BfAMcJ3iwxxAZTwASkj+mWRILxxfU6hYJmQRXNsUngpiaGm91rFp3wFLaU4unyaib7Dm Cz/bz4aziheYJw5XFvN7ScqO/9qI97ImTkNoTDuawsR/8foQvAeRO39V1XtlIyO/+T2c SXFA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=50kpLbsOD0ZKoRp8Q7BM9oovT52SXSK2r0dSb0ESevc=; b=yaInRy83G3UU5Oo6nP+ppBUHHVCdRLLBHsUGb4t2i5BA7aU/maU+O1DyBEIfWd7bYD MFZSWCV9h5ojjL6t3cQfz81gcUHx9qCJFeEmYQ4jhkBh1XFcm990j9kYqoletYPN5OWB F7PmW/KzDnUlea+IYauzBfMRTXoEtNjQBxc4BhF06TMarlhiOQOAvloSCm5ghRUwznQ/ foK9nXqTTcGH91usLMEvE41i5zU7pAG53nJT7P9uODt0SVh+8fmOHqti48BQnmmhabiP i1Yqqs9+hsakA0vC1uVBF2amlTb8rlteyGHPdHBa0HFo7dVRY3o5/C/UHR7z3m4xJp8e Wh5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=tapVYhCI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i23si1857383ejj.446.2020.08.05.10.25.03; Wed, 05 Aug 2020 10:25:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=tapVYhCI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728711AbgHERWn (ORCPT + 99 others); Wed, 5 Aug 2020 13:22:43 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:34052 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728710AbgHERVV (ORCPT ); Wed, 5 Aug 2020 13:21:21 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 075ElEES126944; Wed, 5 Aug 2020 14:49:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=50kpLbsOD0ZKoRp8Q7BM9oovT52SXSK2r0dSb0ESevc=; b=tapVYhCIpNpfMnd3DVbCh5/jibmd+RPm0FkdZXF5he1B576M7KNK8hNAF1QkSQ4FfbFW PQzKZwCCQ5SBm7M0iKv1+CdnE8g4BdWCe/0cnh8GDau44yMSKn0/0l+i4h9BOrL+0qOO 1Tth5STnQJJ5yu7MD92TOI1ML2ULvxSG2PgC4I4nM4C1luQZOFvjckBs6H0F58VQsUc9 geLYkajzx7MnjHjocanXbfyzziW8+fUgKnfa1IbGVjQ6gFyxLgsLZ4xkks68brlvasd0 5MVqhtGdPf9ofUVKTUhR/F0d/zPPuI9TVPv/bK2H5UsseHT6DGxaMDD2Cg1FQ2/oU8Q0 iA== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 32pdnqdv1s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 05 Aug 2020 14:49:59 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 075EmuBh181161; Wed, 5 Aug 2020 14:49:59 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 32pdnth08k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Aug 2020 14:49:58 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 075EnrqE009945; Wed, 5 Aug 2020 14:49:55 GMT Received: from [10.175.0.119] (/10.175.0.119) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 05 Aug 2020 07:49:53 -0700 Subject: Re: Re: Minor RST rant To: peterz@infradead.org, NeilBrown Cc: Steven Rostedt , Jonathan Corbet , linux-doc@vger.kernel.org, LKML References: <20200724132200.51fd2065@oasis.local.home> <20200724113325.44923f75@lwn.net> <20200724144234.3227b501@oasis.local.home> <877dusv5lc.fsf@notabene.neil.brown.name> <20200729124445.GB2638@hirez.programming.kicks-ass.net> From: Vegard Nossum Message-ID: <1e60ff85-4965-92cb-e50b-8ea9ccf6788e@oracle.com> Date: Wed, 5 Aug 2020 16:49:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200729124445.GB2638@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9704 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 mlxscore=0 bulkscore=0 adultscore=0 phishscore=0 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008050123 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9704 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 impostorscore=0 mlxscore=0 suspectscore=0 clxscore=1011 priorityscore=1501 bulkscore=0 adultscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008050123 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-07-29 14:44, peterz@infradead.org wrote: > On Sat, Jul 25, 2020 at 09:46:55AM +1000, NeilBrown wrote: > >> Constant names stand out least effectively by themselves. In >> kernel-doc comments they are preceded by a '%'. Would that make the >> text more readable for you? Does our doc infrastructure honour that in >> .rst documents? > > It does not. It also still reads really weird. > > And for some reason firefox chokes on the HTML file I tried it with, and > make htmldocs takes for bloody ever. > > Give me a plain text file, please. All this modern crap just doesn't > work. > FWIW, I *really* like how the extra markup renders in a browser, and I don't think I'm the only one. If you want to read .rst files in a terminal, I would suggest using something like this: $ pandoc -t plain Documentation/core-api/atomic_ops.rst | less It looks pretty readable to me, things like lists and code are properly indented, the only thing it's missing as far as I'm concerned is marking headings more prominently. The new online documentation is a great way to attract more people to kernel development (and just spread typical kernel knowledge to non-Linux/non-kernel programmers). The old Documentation/ was kind of hidden away and you only really came across it by accident if you did a treewide 'git grep'; the new online docs, on the other hand, are a pleasure to browse and explore and frequently show up in google searches for random kernel-related topics. Vegard