Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2546453pxb; Sat, 30 Jan 2021 06:09:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOcOVYu9JUeQF1yh5u4cWyxR6WaoReaJecFWfVP2BtwLL0bHF4lp2hm4/CkeDQdGYC1WWR X-Received: by 2002:a17:906:c049:: with SMTP id bm9mr8852096ejb.535.1612015791841; Sat, 30 Jan 2021 06:09:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612015791; cv=none; d=google.com; s=arc-20160816; b=xGx+QDKOOlwXNJPBmyn01ACtnwouTWyfvVx4oNTpx8O0gjQadUIrjcvSAged8PF0UP 5tQ1vWchVbkQPe4wJ2WoFw85I5DZX0FF+DxPmUaQETb+BJqM4JEESeGT+9X6vWK3LXA3 SN8aZLTiM35hnSVrv5NuAV1a4v1IBXSvVJHBb1BSsqqjIRrL6mLO3EIZeU0Hv76o6wN9 nfwNnbB1cb1tewVpoW3h3eFLoO5KnshZl5G/4sgqdKlWPrCRpCxeIYT84GDHn9Bj4pBN iLctk1RW9TQcJUtuxetM3Y0fruV57q8xhd7Jv0lGtyC+5HcNCgpnFTeKA6lD97+gzGN4 4mcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=HsOxsUc6Flp+ojJMNqkeoIZDy7Y/US33IYKaZIZF4Wc=; b=SK050VCzX9SaW7dun/br9So/uMz5Fw6EudWgGEQCuGAXmn6A+I4JS4F31mgWgjWoh3 Xe7SVLbtzgzlUvay0sSD9FTzsv2vDz3zYFlfJ5uX9Jo3/D7y3CxRwd7eD0FtFT4TfNx2 NcUboZUNqJWkR1tuIVmtN1UqQhRK/9lTcGoFAoxmIiehjKFN01sEz1ns4habiUIAcyFR mV3Z3CSPxccrTOUo9DFu4mFpa7UTAaWGOFlFCaaULhfflQE7dWN60BLh2Byx61yODdhr 5GJVvzUQQqZYVPp7sr0B6BHh8p0nusIMfLgIniLB3F6+uq6BZ+beECdOXi52g6YMOjMs UF2Q== 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 i1si7425513edl.551.2021.01.30.06.09.25; Sat, 30 Jan 2021 06:09:51 -0800 (PST) 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 S229990AbhA3OHq (ORCPT + 99 others); Sat, 30 Jan 2021 09:07:46 -0500 Received: from mail.v3.sk ([167.172.186.51]:42944 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229468AbhA3OHn (ORCPT ); Sat, 30 Jan 2021 09:07:43 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id CFE99E0A80; Sat, 30 Jan 2021 14:02:52 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id w0XuzY4HszbM; Sat, 30 Jan 2021 14:02:52 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 1365AE0B3B; Sat, 30 Jan 2021 14:02:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NSS8llP6gogb; Sat, 30 Jan 2021 14:02:51 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 43FBFE0A80; Sat, 30 Jan 2021 14:02:51 +0000 (UTC) Date: Sat, 30 Jan 2021 15:06:52 +0100 From: Lubomir Rintel To: Jonathan Corbet Cc: Maen Suleiman , Lior Amsalem , Thomas Petazzoni , Andrew Lunn , Nicolas Pitre , Eric Miao , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] docs: arm: marvell: turn the automatic links into labels Message-ID: <20210130140652.GA190173@demiurge.local> References: <20210129183950.75405-1-lkundrak@v3.sk> <20210129183950.75405-2-lkundrak@v3.sk> <87tuqzwa0j.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tuqzwa0j.fsf@meer.lwn.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 29, 2021 at 05:20:28PM -0700, Jonathan Corbet wrote: > Lubomir Rintel writes: > > > Lines ending with obscenely long URLs at the end don't look good. > > > > Even if these links are not that long at this point, they will be when > > replaced with an archive link in a subsequent patch -- let's prepare for > > that. > > > > Signed-off-by: Lubomir Rintel > > --- > > Documentation/arm/marvel.rst | 209 ++++++++++++++++++++++++----------- > > 1 file changed, 143 insertions(+), 66 deletions(-) > > > > diff --git a/Documentation/arm/marvel.rst b/Documentation/arm/marvel.rst > > index 16ab2eb085b86..716551f9b60a1 100644 > > --- a/Documentation/arm/marvel.rst > > +++ b/Documentation/arm/marvel.rst > > @@ -18,12 +18,12 @@ Orion family > > - 88F5181L > > - 88F5182 > > > > - - Datasheet: http://www.embeddedarm.com/documentation/third-party/MV88F5182-datasheet.pdf > > - - Programmer's User Guide: http://www.embeddedarm.com/documentation/third-party/MV88F5182-opensource-manual.pdf > > - - User Manual: http://www.embeddedarm.com/documentation/third-party/MV88F5182-usermanual.pdf > > + - Datasheet: `MV88F5182-datasheet.pdf`_ > > + - Programmer's User Guide: `MV88F5182-opensource-manual.pdf`_ > > + - User Manual: `MV88F5182-usermanual.pdf`_ > > - 88F5281 > > > > - - Datasheet: http://www.ocmodshop.com/images/reviews/networking/qnap_ts409u/marvel_88f5281_data_sheet.pdf > > + - Datasheet: `marvel_88f5281_data_sheet.pdf`_ > > - 88F6183 > > Core: > > Feroceon 88fr331 (88f51xx) or 88fr531-vd (88f52xx) ARMv5 compatible > > @@ -32,37 +32,42 @@ Orion family > > Linux kernel plat directory: > > arch/arm/plat-orion > > > > +.. _MV88F5182-datasheet.pdf: http://www.embeddedarm.com/documentation/third-party/MV88F5182-datasheet.pdf > > +.. _MV88F5182-opensource-manual.pdf: http://www.embeddedarm.com/documentation/third-party/MV88F5182-opensource-manual.pdf > > +.. _MV88F5182-usermanual.pdf: http://www.embeddedarm.com/documentation/third-party/MV88F5182-usermanual.pdf > > +.. _marvel_88f5281_data_sheet.pdf: http://www.ocmodshop.com/images/reviews/networking/qnap_ts409u/marvel_88f5281_data_sheet.pdf > > So I see what you're trying to do, but this has the effect of prettying > up the processed docs at the expense of making the plain-text version > harder to read. Somebody who wants to find one of these datasheets from > the plain-text version has to skip further down in the file, hoping that > they pick out the right one among a set of long, similar URLs. > Honestly, I think we may be better off leaving them as they are. > Failing that, the right thing to do is to keep the lines defining the > URL labels right next to where they are referenced. > > See what I'm getting at? Yes. I've been considering the same, but concluded it's a still a better idea to move the full URLs below because 1.) at this point the links are broken anyway and the basename is the only valuable part of the URL when looking for an actual document; and the basename stays in place 2.) the archive.org links that replace them in another patch are waaaay too long even for very large displays However, even though I think this is perhaps marginally better, either way works for me. Thus, unless you change your mind about it, I'll follow up with a v2 that drops this patch and replaces the links in place. Thank you Lubo > > Thanks, > > jon