Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2567290ybh; Fri, 24 Jul 2020 16:48:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi40ySmuetc/FyQPwj5Emc3izt6Cf8hWlvMpZ+ukRKpVIfympIhPIEvZNAO9xMiVgoY1Mn X-Received: by 2002:a17:90a:110:: with SMTP id b16mr7549700pjb.235.1595634512798; Fri, 24 Jul 2020 16:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595634512; cv=none; d=google.com; s=arc-20160816; b=oP5zc/1Y2CJgkU0b9OyfGsMDza3L72cGQMLFFPj3N3c6HEYjTVoy6PeT3SANjVxH4r RMgCeHeLwBHCFYLUZVcgyeG5zqwwpH8jV7YYT19hjxuY9GBaI4XdvDL+Qbw7VayuMRzL VwJBC8thRv8MkJ4lAhxtIL7vaK2G36ROKyfL6dwbgVF96fIe5feWEsSiu+XACVTIf9TT Xyc0pHaGIyXrg8rP48jzHaJWgaryRnu/yLi5uWZn2gtYcbXdvRJ73eUdNSEuhdpeI7IJ zQZ4cbUIygkVuGTQUUkMzeXZbgsScc7iRJUHydIZmSj6dIatNTV7F/IxYWDgICmSzmg5 dRtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from; bh=Ub3ALbQuQ5+xhVVOuUE53fm9isRthYejub7s5Z1z1ZM=; b=MT8fmbXgCaIPx5B4jUQET/XRd8UjH+OGxmxlZ+dN8RoxC1rqmA056axBw/NKYWmdkK pLn7jQhiw09GK4nOIpK7/6k4ieno/JWsgr19jyAFqiONysiM+gt0mVP+H3wdG+tbk+sz yk4rOR6m6tgGTjjt21LXDVhHb2cZgfWtIIhYGS/TNohzK4wEZus+MjSVMF081ZRFBEDz e9KtngJMKDYeJxubkSTGzRdvT+FykV9TrvKw33XvvqpI6VGd7Bk4QPShp2pK0JC78Ble QRbyimcQjIDGFaR1Qhx2ZlY2G7K/SKCTOWfIPFyi8HHP0W9l6d6yO237YUNyAz0nne8W oOHg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si5037750pgc.483.2020.07.24.16.47.47; Fri, 24 Jul 2020 16:48:32 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726821AbgGXXrG (ORCPT + 99 others); Fri, 24 Jul 2020 19:47:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:52316 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726552AbgGXXrF (ORCPT ); Fri, 24 Jul 2020 19:47:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 86D4DAC37; Fri, 24 Jul 2020 23:47:11 +0000 (UTC) From: NeilBrown To: Steven Rostedt , Jonathan Corbet Date: Sat, 25 Jul 2020 09:46:55 +1000 Cc: Peter Zijlstra , linux-doc@vger.kernel.org, LKML Subject: Re: Minor RST rant In-Reply-To: <20200724144234.3227b501@oasis.local.home> References: <20200724132200.51fd2065@oasis.local.home> <20200724113325.44923f75@lwn.net> <20200724144234.3227b501@oasis.local.home> Message-ID: <877dusv5lc.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, Jul 24 2020, Steven Rostedt wrote: > On Fri, 24 Jul 2020 11:33:25 -0600 > Jonathan Corbet wrote: > >> Give people a tool, some of them will make more use of it than you might >> like. I do my best to push back against excessive markup (which all of t= he >> above qualifies as, as far as I'm concerned), but I can't really even do >> that will all that goes through my tree, much less all the docs stuff >> merged by others. >>=20 >> The markup in question was seemingly added by Neil; I've added him to CC >> in case he wants to comment on it. > > I saw Neil as the author and should have Cc'd him. > > Neil, you can read my full email here: > > https://lore.kernel.org/r/20200724132200.51fd2065@oasis.local.home > >>=20 >> I'm not sure what to do other than to continue to push for minimal use of >> intrusive markup. > > Yeah, I really didn't expect an action item to come from this. It was > just some feedback, and perhaps you can use this as an example of "too > much markup" when dealing with others. > > Looking at the web page that Matthew pointed out to, does make it much > easier to read. But one still needs to remember that a large audience > of this work is still those of us that will read the plain text. > > My viewer of choice is "less" ;-) > > -- Steve Hi Steven, thanks for your rants - and under appreciated art form I believe. Short answer is: I don't much care and if someone were to remove the markup, I possibly wouldn't even notice and certainly wouldn't object. Longer answer is that I think visual appearance is important. I originally wrote that document as an article for lwn.net. I wanted the code fragments - even when a single word like AT_EMPTY_PATH - to be rendered like code (constant-width font). The markdown markup for that is `code goes here`, so that is what I sent to Jon (he graciously uses a markdown-to-html tool to munge what I send), and that is what I placed in Documentation. I subsequently converted this to rst (7bbfd9ad8eb2) which involved converting single ` to double ``. I agree this was not an improvement when reading the text, but maybe that is the price of using rst. Or maybe the price is not being able to say what you mean. A brief look over the file suggests that most uses of `` are to highlight one of: - paths - function names - constant names. All these must be used widely throughout the documentation - whatever is the common standard should definitely be imposed. 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? Thanks, NeilBrown --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAl8bcu8ACgkQOeye3VZi gbmjGA//SRXJ/QRPQ6cwMtokAfU6MOfPmzE/kje6niXlk/8S+ALs8C7Ln0KBvWnl /lvGP8NPdadOp6i8t0n9/yHPwUiCUOSQrbXObCwkuKEPzEy7Xb9KFgpiSw65ZQne m5DmKHCEQMbzqtI4lm6BHn1aPhXoHxJSmj7tKYhgy8TabCwC8xcL3QyQO8q+22zx pWx+5gK2BoJPMLnsofcP9bWLwS7xlnxhCtkHVFcZycSBhgr2mY3P9jkX/+stkfPO 3uHDWrfq0LV7uPAS8yqJfCxfQ4fb6qSihia53cAwvwtjeH6khp+8jI3v72YzoyWz /XYCGSm8ZVRgU1GUEKEyxZJko7NFCDNyBCjhXnqTipMG7SSaae4ZHPLIDbG1AOt9 svl9it1T0xl3SkaTUxBG+8d2fWVHiKpb064s6iYv7BnGHB8EZNPbQuCkiRvAvO3x DBA8FFSe07zMitQ3fzDmA8ldVaSD2ToubP1x4v0kcpQJAOYaKUMBOuIB/EkK6O/E jm07PJlSXVEg5D8aHMM88p6bjjwFntJbQyH3Ql8hWdhtzcrFHGYF8QgZYbOV8cqn Klt3Evjss4cNi3N/HGaFwBcYMs2wTJER5v62caU4quFYKhy3q8930gYRe7m7sLEn 2LQwfFLBarX265kDM7/CwxaDkHgNoyBQl9SiLZ1dT1aLALu92d4= =RP7I -----END PGP SIGNATURE----- --=-=-=--