From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5946FC00140 for ; Mon, 8 Aug 2022 07:29:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233599AbiHHH3Q (ORCPT ); Mon, 8 Aug 2022 03:29:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231756AbiHHH3O (ORCPT ); Mon, 8 Aug 2022 03:29:14 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 836405F67 for ; Mon, 8 Aug 2022 00:29:11 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id 130so7361480pfv.13 for ; Mon, 08 Aug 2022 00:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WewKx6ATPOYWhQZm7JhkN1yzRmS/Nyy6eZIqmfAcuxA=; b=UoLRFiDgRO2ECLd5dJDcnC8vRgRISCgFp3rFdDqQ4Bik4jTcqtN5oH+0eE5l/jZsrk 12NdYlwTsCm248F7iHXYAQSl+jrW3fz49k0AF8ZUVV3kTzVCBI8cD72MFxwJMJM8cKwG agaEGowuE3qHVxG42x2dyYDmrD6XuR+nJQmQ/Cn1nechxEAurdvtf93/tEEvcIbWNbU3 H7wqjb3XG9Bg0l4PxRFqr8hAVG2VTaX/XHkeyb9G37Iu8FFPtYdpOVhfS6kKtmt7Uzid Qg4GHxq/K0xcTKrQfterdnKTIO5mcXoidh3s0DaV8IxqpjwQpnArCDtPDdcFSvWlmvVp CmzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WewKx6ATPOYWhQZm7JhkN1yzRmS/Nyy6eZIqmfAcuxA=; b=Qu8n0PI+zWEbEuxxEG0x0SiKzM0311a+NoQwzmaI/h4ZtsQsMGMtaNzdKobrRF5pwE EFVL/b899tZV3Nnb6M6+8rKFGO4w9+O7y1pJ0qLudDXNNyr/iEvaDw+Uy6j6smi/7WPF H4E5d7PhhrWY68cgxd9hnygX8F+nIhRFGecwvz6tlNx1WS6uAi5YFgiVvZNMZHpKiMnO QDFNPln1iLP7LZvSyotfPOhS2bZKw08XF2Puy9co7Rub0brKC/F2RR/+R6n57VKiItXl tpPxhFuuXlqZuwCta3dcDYjqcjs23HvVEoW3uQXrdz93+K1H+LxEk/yLpgamQ88Mxkd1 01BA== X-Gm-Message-State: ACgBeo1w+wCWr+UFku+R/fkeGz0DloRmDSfJEemHMWSyV0xlxwuTKZ6+ qT0qfXxFt5NpjPRYDFjhqGNO5PhtL5k= X-Google-Smtp-Source: AA6agR6xyB1D9wc1ZAVQUKynf5N84FEX5LDB8KCtzpWdSXwssDrLwuZbRtROA5SEN0hTFWC+FJV20g== X-Received: by 2002:a05:6a00:2181:b0:51b:560b:dd30 with SMTP id h1-20020a056a00218100b0051b560bdd30mr17496817pfi.44.1659943749178; Mon, 08 Aug 2022 00:29:09 -0700 (PDT) Received: from realwakka-vm.. ([59.12.165.26]) by smtp.gmail.com with ESMTPSA id ij23-20020a170902ab5700b0016dbb5bbeebsm7847065plb.228.2022.08.08.00.29.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Aug 2022 00:29:08 -0700 (PDT) From: Sidong Yang To: linux-btrfs@vger.kernel.org Cc: Sidong Yang Subject: [PATCH] btrfs-progs: doc: Add cross reference for manual Date: Mon, 8 Aug 2022 07:28:56 +0000 Message-Id: <20220808072856.5155-1-realwakka@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org RST format provides cross reference function that users can navigate manual pages click. This patch is written by macro that replace old reference to doc role in RST format. Signed-off-by: Sidong Yang --- Documentation/btrfs-balance.rst | 6 +- Documentation/btrfs-check.rst | 6 +- Documentation/btrfs-convert.rst | 6 +- Documentation/btrfs-device.rst | 6 +- Documentation/btrfs-filesystem.rst | 6 +- Documentation/btrfs-find-root.rst | 2 +- Documentation/btrfs-image.rst | 2 +- Documentation/btrfs-inspect-internal.rst | 2 +- Documentation/btrfs-man5.rst | 16 ++--- Documentation/btrfs-map-logical.rst | 2 +- Documentation/btrfs-property.rst | 4 +- Documentation/btrfs-qgroup.rst | 6 +- Documentation/btrfs-quota.rst | 8 +-- Documentation/btrfs-receive.rst | 4 +- Documentation/btrfs-replace.rst | 10 +-- Documentation/btrfs-rescue.rst | 6 +- Documentation/btrfs-restore.rst | 8 +-- Documentation/btrfs-scrub.rst | 2 +- Documentation/btrfs-send.rst | 8 +-- Documentation/btrfs-subvolume.rst | 8 +-- Documentation/btrfs.rst | 70 ++++++++++---------- Documentation/btrfstune.rst | 14 ++-- Documentation/ch-balance-filters.rst | 2 +- Documentation/ch-balance-intro.rst | 2 +- Documentation/ch-convert-intro.rst | 2 +- Documentation/ch-mount-options.rst | 2 +- Documentation/ch-subvolume-intro.rst | 2 +- Documentation/ch-volume-management-intro.rst | 2 +- Documentation/fsck.btrfs.rst | 4 +- Documentation/mkfs.btrfs.rst | 18 ++--- 30 files changed, 118 insertions(+), 118 deletions(-) diff --git a/Documentation/btrfs-balance.rst b/Documentation/btrfs-balance.rst index 352965bf..5ee4f292 100644 --- a/Documentation/btrfs-balance.rst +++ b/Documentation/btrfs-balance.rst @@ -127,7 +127,7 @@ EXAMPLES -------- A more comprehensive example when going from one to multiple devices, and back, -can be found in section *TYPICAL USECASES* of ``btrfs-device(8)``. +can be found in section *TYPICAL USECASES* of :doc:`btrfs-device(8)`. MAKING BLOCK GROUP LAYOUT MORE COMPACT ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -269,5 +269,5 @@ further details. SEE ALSO -------- -``mkfs.btrfs(8)``, -``btrfs-device(8)`` +:doc:`mkfs.btrfs(8)`, +:doc:`btrfs-device(8)` diff --git a/Documentation/btrfs-check.rst b/Documentation/btrfs-check.rst index 6bf67918..0096bccc 100644 --- a/Documentation/btrfs-check.rst +++ b/Documentation/btrfs-check.rst @@ -161,6 +161,6 @@ further details. SEE ALSO -------- -``mkfs.btrfs(8)``, -``btrfs-scrub(8)``, -``btrfs-rescue(8)`` +:doc:`mkfs.btrfs(8)`, +:doc:`btrfs-scrub(8)`, +:doc:`btrfs-rescue(8)` diff --git a/Documentation/btrfs-convert.rst b/Documentation/btrfs-convert.rst index 4c7da323..01187c4d 100644 --- a/Documentation/btrfs-convert.rst +++ b/Documentation/btrfs-convert.rst @@ -31,7 +31,7 @@ OPTIONS set filesystem nodesize, the tree block size in which btrfs stores its metadata. The default value is 16KiB (16384) or the page size, whichever is bigger. Must be a multiple of the sectorsize, but not larger than 65536. See - ``mkfs.btrfs(8)`` for more details. + :doc:`mkfs.btrfs(8)` for more details. -r|--rollback rollback to the original ext2/3/4 filesystem if possible -l|--label