Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp622827pxb; Wed, 27 Jan 2021 17:06:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGAp0jrmwDRASJD8AVKs+F8RkkeXRo5vFf87qY4bvHIHkLWlyUZTFK7e3H+PXPPsFto1lM X-Received: by 2002:a50:fa86:: with SMTP id w6mr11362557edr.98.1611795992157; Wed, 27 Jan 2021 17:06:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611795992; cv=none; d=google.com; s=arc-20160816; b=zIyGX4ITVQwdCJYyDxGy2AvGeXpopf3/B6193MCMhb6dCDbO2zkgqV1GXt7FYoPOCt WfmnSPicoC5PBnIfNDNHR1aNMeIEXoiSOimjPkpmXuCeb0u6iAe6BxM7iwmR9GDpJ5yp UufJBE3PJMP3UoAtoY2bQPwACxrclSZPjguf0BM0r3370rW1nuW7IUeo45/8bInrP5HT 11xwrl8oRUU/7BLDsFApBUBDlM9pUcm6MpAQAiwJSRWgAGvAbe8vUfLpybGI2o4TWgp8 MR3Xnqku6j39rRdKf6ZnQm0YumQRiwvoPoXhyt5G0v4F7592II4S2xp9vI5VQmwbmkK+ HUIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=oN3yS61gBPJ9xdHSwY1nQqpqd4e0ESFLymvcdmGZwp0=; b=NksvF5o21YImo1MMxsbF9FUuH7A5T/GnZDLuf8AJV0GwSUlIQFr66xcAHT5UUdyL/H bODPMoXocUZd88UJLbf0VRiYDGYD6faxM284gEIeif7HZ+u23Wl1ASqwBijz957mxioe pqifv7DrHNPvFFF2mjEpzvFlT9Clmcx1aAzCFSPkUpwXtig5fIV/mjvMm2z8wuYiBDiq NrANpWWg1zfmUrVF952IYgHOLBHncyjGal9D4u8/WoTw6fs0JT2tXQaza2u6PEXvv9tL pw/bCeMyBkXdfTsC/Z9B43Ou80ySRDclKYzDB6Nm6/kR9TkEbFqx18XbqApAnwBB1C8T 0cmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=oE963L2O; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ao9si1588257ejc.718.2021.01.27.17.06.06; Wed, 27 Jan 2021 17:06:32 -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; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=oE963L2O; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231758AbhA1BFK (ORCPT + 99 others); Wed, 27 Jan 2021 20:05:10 -0500 Received: from mail-40136.protonmail.ch ([185.70.40.136]:57917 "EHLO mail-40136.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231480AbhA1BCV (ORCPT ); Wed, 27 Jan 2021 20:02:21 -0500 Date: Thu, 28 Jan 2021 01:01:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1611795682; bh=oN3yS61gBPJ9xdHSwY1nQqpqd4e0ESFLymvcdmGZwp0=; h=Date:To:From:Cc:Reply-To:Subject:From; b=oE963L2Oh2GbfTyYnc+jswD84Z7wFbj1K4D4c5axtEZt1VdZXOV+BYEsrmnT5EUxY Dfw85b5AKNIrTAmCFw05l0c2NPf3ZM78H+3LseuTp7qCpTRKj2dckjle5Sha1KI2vy Sm6zaX3l1n9+sbGEsf2lq70ZzW69CF8khFpSfoVc= To: Jonathan Corbet From: =?utf-8?Q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Cc: Randy Dunlap , Mauro Carvalho Chehab , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Miguel Ojeda , Andrew Klychkov , lkcamp@lists.libreplanetbr.org, andrealmeid@collabora.com Reply-To: =?utf-8?Q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Subject: [PATCH 0/2] docs: Add support for relative paths in automarkup Message-ID: <20210128010028.58541-1-nfraprado@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As Jon previously noted [1], it would be nice if automarkup supported relat= ive paths as well when cross-referencing to other documents. This adds the supp= ort for it, and documents it. Jon, after applying this, 43bc3ed73639 ("docs: dt: Use full path to enable cross-reference") could be reverted without the link stopping to work. [1] https://lore.kernel.org/linux-doc/20201130142404.6ef6689e@lwn.net/ N=C3=ADcolas F. R. A. Prado (2): docs: Enable usage of relative paths to docs on automarkup docs: Document cross-referencing using relative path Documentation/doc-guide/sphinx.rst | 30 ++++++++++++++++++++---------- Documentation/sphinx/automarkup.py | 7 +++++-- 2 files changed, 25 insertions(+), 12 deletions(-) --=20 2.30.0