Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4877020rwl; Wed, 28 Dec 2022 10:00:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXsYqqkMXGsX4jjQTQOYXwJRQmFDOjioRFpH3NqLlVxkP1r1zJFcS2O+HaZ6vxhHVU5rbvah X-Received: by 2002:a17:907:86aa:b0:7c0:aea2:e910 with SMTP id qa42-20020a17090786aa00b007c0aea2e910mr37838688ejc.3.1672250429794; Wed, 28 Dec 2022 10:00:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672250429; cv=pass; d=google.com; s=arc-20160816; b=jf68BAeThDXuPeYUt5PND83GdER9KcAdkspmiorbww8PBrHWbVhnKt+XuBAyD/Kq+4 M/t/wz6Q1FnN9L4NVOaZX8IYUs1L7N+as907S7XYpHPbAZPJxTtMObTu+1dgzoQsIvcU bf/MdLZbYoG4T8izXitKX13RJ6lxQvm2iFqoRpiwMTDNumKJvvwpg+YEFnR6b5WlyTZX DZx+0I7/TPlHWsIgIzIRkaPZtEP5QeNFy5IE991aNbtt3Mg+TVvoOP+zuf/O95D6cqKn pdEiTZtpBNkliNcBpV/zQMm7G97rVPKa2GohTAzVfn7zoQN6H6FGME7SavBA8uSrKQPY qf/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=bFY07MZ3QnZidcv26GhYNRjK7lTgp4SZndXq4TsjGC4=; b=z871LOMhDjfHxBrwaUy5Fi21BwNH3FdJji4hHHqUPKVTu8JaMfF/paoOKUKNppxOGB nK9hxl5AUaPzncx/uP4inA/7nHi1aLgrdiAZjmCTbFvYMAIIIZuVi9Wc6uBB6aFZJ4zX IVYX3rmLJhOW80aKaakqQc9YGgkXJaJXUZKcnY/4sxL6Z8roXV4EQ45fhh8IZnN+aEsu e3gSYkdgjDQ7IU+a0VaQ/4y0Q9kVj9VQHabEvDEobRpvLjOwXYFM9z4Ls7Wg56wh0zaG C7VyTzvRUrB9Hi7McFVl06RxtMajPeaa2IfgXwMYE2o2NIJwNE+yIi0GB8FqgN3GsbDC 7xzQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=mHBXOKb0; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u1-20020aa7d981000000b0046b05ca8929si12863909eds.592.2022.12.28.10.00.14; Wed, 28 Dec 2022 10:00:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=mHBXOKb0; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234170AbiL1RnO (ORCPT + 63 others); Wed, 28 Dec 2022 12:43:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233300AbiL1RnH (ORCPT ); Wed, 28 Dec 2022 12:43:07 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2087.outbound.protection.outlook.com [40.107.223.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7323178A8; Wed, 28 Dec 2022 09:43:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jPUCBElThg5NT8lHsSdIFifYTNmI9qGnLqx8rL0wJZoPmkiBLcBR9EtWNraS2/k3yhG9rfHr4Wy/V3HDfVqS2TTx/a2ZB3/rbHLkcv8XzludWS4bcUf/Z3IAfaLQNz6B1eA2TktxAZivW7T673NI2Ak7gRQMvUaMvxBGIYx2jkwwUbOXJT5FS/Y1zn58/aPzps98CIKofKczEeLiYWdLkXlDHE9nUehtSPzYb9MOd9nkvrp5hJUR/Uuvg6ln7Yxh8QCcz8PCHVIlPtD+tvKSRNhxlBq19SnEMAyb0cW07OOXwYVPhcQjqLxZbXVKZY3AhQxQnKT2lSEw6pXxq7Pc9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bFY07MZ3QnZidcv26GhYNRjK7lTgp4SZndXq4TsjGC4=; b=BWVpAq3owX/w2b+/K4Yr1UxAxJ46Cs5SyHfxQdSiRCU12x+x+LtAkcdpIEQQWvh0RVeNKVsWeDXX5qpXpHldL+9OznuQOJqKRGBei/EAPMNk8PTj6UbpSswA8KkS9CZRMCV9et3QATFmJMOp0vwNmUS7FEM1Vtfh3po5B06kNkhbPrwcJBSsAhufWVlO0WR8+30K1+tPOootGei9TCxqM/MbEp2FcM3ORzWfvtTQl1xWfIeU+XzhxQvJ8BIBWz3sQYiOtELROoi0cCBDTdgckQdN7Dg3HTsdHmT8pcKHCM2bYebe9CgDu0Y5CzovM24zA8oH4LzZ70391nB/sGqXeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bFY07MZ3QnZidcv26GhYNRjK7lTgp4SZndXq4TsjGC4=; b=mHBXOKb0qg6oaJuBSQhjXnmJcls2w0ZwcuuaqymT7M9OkUvJahJ4lw8oSdaVjLy+VQNOoMjfEttqDzRJfr4LvGXxKXewP25Lq0EBRjz/DpbEy8yqfUjPpJ2GwVLCI0ETZQxYeC5YbX0UJVgEBjnqw54IZK2JPRqtS9q5fz+amyc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BL1PR12MB5874.namprd12.prod.outlook.com (2603:10b6:208:396::17) by MW3PR12MB4459.namprd12.prod.outlook.com (2603:10b6:303:56::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.16; Wed, 28 Dec 2022 17:43:02 +0000 Received: from BL1PR12MB5874.namprd12.prod.outlook.com ([fe80::45b1:34fb:e14d:96e4]) by BL1PR12MB5874.namprd12.prod.outlook.com ([fe80::45b1:34fb:e14d:96e4%4]) with mapi id 15.20.5944.016; Wed, 28 Dec 2022 17:43:02 +0000 Message-ID: <914857e3-1844-0303-e34e-c85a05257cdc@amd.com> Date: Wed, 28 Dec 2022 11:43:00 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v4 1/2] docs: Move rustdoc output, cross-reference it To: Akira Yokosawa Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, konstantin@linuxfoundation.org, ojeda@kernel.org, corbet@lwn.net, jani.nikula@linux.intel.com, rdunlap@infradead.org References: <20221207173053.1463800-1-carlos.bilbao@amd.com> <20221207173053.1463800-2-carlos.bilbao@amd.com> Content-Language: en-US From: Carlos Bilbao In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MN2PR01CA0062.prod.exchangelabs.com (2603:10b6:208:23f::31) To BL1PR12MB5874.namprd12.prod.outlook.com (2603:10b6:208:396::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5874:EE_|MW3PR12MB4459:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f63bd1b-a091-4968-2784-08dae8faf7d1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fcdS5e29Lgj+/5TJ0isJk2xQ+nbROWj2ZwzRAbnHJ+8wfCvaEPDoj07iJCqOGAJOya7pE6YyxkxNtiP6EkgS14nJkyJxSpY5c59dtXyhZo/cNrVnfAAQg+jez4AcFk/T4hqCjOHbuLF6QeeppOjoTV4ocRzOqr1aGT3dJi4KZunDCE2AcrFLJPK1QqNOL8sdDo5CcFFHmC/8dv+NLK5sM78/FnjWaaMmJAg77nHnVxxnIJ+LFjYwy2m6A616ZGqwAezRQgi9+azt/pfnMrwKanXP7J4d8Sj7A9SVaFIX8xADExSyaD3WdurrIo0t1kCOc0S0CpHKZyrsPjF4RGG3hq5AYkt0AaC/ARl/aIQihj1FqIbaovuKqKRZaWw5fuSwfeiDUmrIXFnvG72eNfgl6L9VRn1sqVPPA9qOOFdtx+gjgKuf3JfAk4MSFujeFA89sHomA5YDg9EiTigWTLlqkCgtZ3b8NZaqObUOPxA6WqW/wcop6U8WkMShIDLex4HodnH1CfHPzqoqLQy1e799DTv6kX9enCEmd/gopYT9stHFMrILmPbMjUryZ8dudrWMReOZTnEiLkh7i0abHmY1AVpeUOQGv+wQshjJL4Og7v9iR2u5RplrXf/Yeqxpkqbc8eztnwO4lGQn+dyDOnHLk7tWjfY1NZ94rA1Yrf9jtqwnUGGNMZicUA2vYeSvIyTXFfGIfDpKbhH5EyrypBaudk6sYDT5+z4hCKT+0FFGYRoq2IHgzsDEPSrscXnrJLYw X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5874.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(136003)(376002)(39860400002)(396003)(366004)(451199015)(26005)(6512007)(186003)(53546011)(478600001)(86362001)(6506007)(31696002)(966005)(45080400002)(6486002)(316002)(36756003)(41300700001)(6916009)(31686004)(2906002)(8936002)(44832011)(5660300002)(83380400001)(66946007)(8676002)(66556008)(66476007)(4326008)(2616005)(38100700002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZXBGeFZodnJwVkFvbDFuaFlHMDN0OE1ZNHJISHZYTzVoMWlaQm1RSElZT3h5?= =?utf-8?B?NHR2VFA3YXQxd1FLUWxOY0JUd1JycnVTSUh0Wm9nL2M4NXVmL29TQzRLUTJ2?= =?utf-8?B?dTRXaEFKNkU0V20xM0F4Q015ajdJU2JLdVRyTjRyM1cwVTdGcFNEOFRicGFs?= =?utf-8?B?OHpKbEI4c0Ira29US0ErcUNscVRhbHNTMjlKbTN1Kzhzc1B5MktoRkxYZnZn?= =?utf-8?B?elIwY20yMm1Ta0NqK1Q5Z3dxMG9YZ1JCZ1gxRjRVNlRMOWZzVzRzVjVhN2Zl?= =?utf-8?B?a3ptR0FXMEl4MUtKSmQ3MmJHdFMwTWNYRy9XZksvZGZEKzQ1dWxHa2FBRlR1?= =?utf-8?B?dWExUDNscFR1Z3FGa1hacmFmbmljSDlTWHhsVHNMZjFsOEl0RzkzMEpvWE0x?= =?utf-8?B?Uk1DMU5iZHVwb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Source: BL1PR12MB5874.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2022 17:43:02.4743 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: RUh0vEn1REl1AJJaGFkinZQviy8BsvxUprY6fuQDSxCByiCF4nADlKJ05mK1PuwbcVAcCzpDB048+Q38fd2qiw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4459 X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/7/22 16:57, Akira Yokosawa wrote: > Hi, > > On Wed, 7 Dec 2022 11:30:52 -0600, Carlos Bilbao wrote: >> Generate rustdoc documentation with the rest of subsystem's documentation >> in Documentation/output. Add a cross reference to the generated rustdoc in >> Documentation/rust/index.rst if Sphinx target rustdoc is set. > The note on rustdoc won't help much in non-html outputs. > Please apply patch below on top. Makes sense, adding, thanks. > > You can keep my Rb tag. > > When rustdoc arrives at https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kernel.org%2Fdoc%2F&data=05%7C01%7Ccarlos.bilbao%40amd.com%7Ca141a966f51d493262e808dad8a67a5a%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C638060506786726160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BB919zHtKyMyQ5T8dLaMwkquTzvjVhV%2FuxiSgeRXABU%3D&reserved=0, a note > for non-html outputs directing people there might be helpful, > I guess. > > Thanks, Akira > >> Reviewed-by: Akira Yokosawa >> Signed-off-by: Carlos Bilbao >> --- >> Documentation/rust/index.rst | 8 ++++++++ >> rust/Makefile | 15 +++++++++------ >> 2 files changed, 17 insertions(+), 6 deletions(-) >> >> diff --git a/Documentation/rust/index.rst b/Documentation/rust/index.rst >> index 4ae8c66b94fa..4fc97c1eb1d1 100644 >> --- a/Documentation/rust/index.rst >> +++ b/Documentation/rust/index.rst >> @@ -6,6 +6,14 @@ Rust >> Documentation related to Rust within the kernel. To start using Rust >> in the kernel, please read the quick-start.rst guide. >> >> +.. only:: rustdoc >> + >> + You can also browse `rustdoc documentation `_. >> + >> +.. only:: not rustdoc >> + >> + This documentation does not include rustdoc generated information. >> + >> .. toctree:: >> :maxdepth: 1 >> > --- a/Documentation/rust/index.rst > +++ b/Documentation/rust/index.rst > @@ -6,11 +6,11 @@ Rust > Documentation related to Rust within the kernel. To start using Rust > in the kernel, please read the quick-start.rst guide. > > -.. only:: rustdoc > +.. only:: rustdoc and html > > You can also browse `rustdoc documentation `_. > > -.. only:: not rustdoc > +.. only:: not rustdoc and html > > This documentation does not include rustdoc generated information. >