Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1156491rwb; Thu, 1 Dec 2022 13:13:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf6UD7g/UWJHdWyApUeiX50xt6skWh1nbrW37n25bkCXT3amZnCFUB9EIOx9V9bmHv1TIDwV X-Received: by 2002:aa7:9282:0:b0:56b:d03d:fdb4 with SMTP id j2-20020aa79282000000b0056bd03dfdb4mr69983665pfa.79.1669929199609; Thu, 01 Dec 2022 13:13:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669929199; cv=none; d=google.com; s=arc-20160816; b=G0vFpVaXO/sH6Y/FbHILUQgIwnjEXL1VhMJrRWGmBVRMZf0nxkkGYLolWb0p7ETTpN ThvBLp1sg069y30Xe3nhcSy4Zk7ELn8tbV80ZrC+yLqT7+jIpe4+nYyrRKht8iexi9OB HXTQRX2Jq5MOGrxfgBHo/I6+gJSWdUC//KjRFVkm5wE805s6O86JyFL1t+tIbd0D1Z80 lv1hGTxz5bBNQVExz5+/rY66ldMpE1SR7Pr6eaqoC0ISHfAAT+lxT5nzInig7xDB8eKi 9Vxue7LqfSl661CjT346Y2pLYQfFUZxvQ2yfIIveLoMCUeG2QZNHMC8t1FpFCEip7M2S c2Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yAseu4i3PcK2VyBCcm/JBiQAg0yuqET9kyP4xdihRV4=; b=lNfGyUh/w+CBhbiGs5ZyzQfUT6W0BT1fjh/U/uQ40p2xwCYS0bOcadDrpzrtpnKNnC ZPlelwdbmJ2CHgR+ouS+AwbvbZIttChTy4TUG5MqEJ6EK+MH12iWAfmwr2/mGu+RGJOV mFmZGpJdbzSDiBoLwtQuif9ME4Fs7nzkLrz2SNJVh3PHJN/qYBgLruE6wzXImD8azzyU qHLAB2BjtajSwqu71mkQBn675dQWmNrg5wS8bcl+eCm5YOFBsTn6AkhX1VqXeLyTrBD5 XJM3HVnPXkLCcsYHm0t0TC9vdlCAZ8dsN1yVe32MbZixqGau2bqkmOWvuz0rHQv0yD08 Cyng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PTg9SqFN; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj4-20020a17090b4d8400b002191a044fadsi8759408pjb.122.2022.12.01.13.13.09; Thu, 01 Dec 2022 13:13:19 -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=@google.com header.s=20210112 header.b=PTg9SqFN; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230429AbiLAUtK (ORCPT + 82 others); Thu, 1 Dec 2022 15:49:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230142AbiLAUsy (ORCPT ); Thu, 1 Dec 2022 15:48:54 -0500 Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 009CC31F9E for ; Thu, 1 Dec 2022 12:48:52 -0800 (PST) Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-14286d5ebc3so3567278fac.3 for ; Thu, 01 Dec 2022 12:48:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=yAseu4i3PcK2VyBCcm/JBiQAg0yuqET9kyP4xdihRV4=; b=PTg9SqFNdtMsAH2OhbwpU59PZRJa1wLEtKxJKx+pJXfXWlggAHk03vJ46gzndyoUxe 1HlEYRvrk74d5BdVyRHcFBk7+J8VMi+S9LR5EfGnC0eqWW+PDTsUUg+uqDUDyw1c6AhE u+hh8pl3PBkcL6TyGGbBFzvo9V7JrHsjlpDcbOxOTOSfdRXhgB/UN1Kn9GNFT8c104jb WhLfRQBw2HtMUYnyRGtOmAvqaf6F1Itmv86fd0esx0orKVIuWZ3giECf3eVLYeJ0oVll CMSLGPGXLdLjM1aLXAz1vMS5cP7lZvevtHypWNSzAN8k+1ZLdhkbemdOQ1C4SBuhn3IF y1qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yAseu4i3PcK2VyBCcm/JBiQAg0yuqET9kyP4xdihRV4=; b=DNan0n+CwJCiJZf+hRWSL/6k0p5VsbBFPluwUfxRqHePo36eyee0YXdCbS/gkiJduc gox/I4hemKmtZjFU2IfI3v3oZ7AdLLCsKlFzf3fLe0p/W0c4kzRDzk7uxZj4CfU4gUwh sG9ZArLaCaN63u/+0H1ldRBvh8VAPHESKdbf8OmjofDrmY7GbVkA9aVYB2ScAg40uEho gXmVsli9LiQ+/8xaj6mOyRLSbwZM3eHwccHgVSaaqsvFBTiSSwK0OXfoR1SlP//WD5XS hIi3sTO5FrwacIaEdEIWWNisv7Y1OuNpO1bb1SpKAwlQTmaaWOGrIZtPlSfAM9Ca3eO7 pINg== X-Gm-Message-State: ANoB5pkygUC75D2fee8yPIPq7FD1V+rrtrQlSwiWQKTLMdHd0wJ2H+S0 2Z2cN70TmQ6QqTFmkng2oXRtmE+jkB7rdhSmB2lsYg== X-Received: by 2002:a05:6870:6707:b0:141:aba2:f9c4 with SMTP id gb7-20020a056870670700b00141aba2f9c4mr28592971oab.273.1669927732177; Thu, 01 Dec 2022 12:48:52 -0800 (PST) MIME-Version: 1.0 References: <20221129094732.306449-1-davidgow@google.com> In-Reply-To: <20221129094732.306449-1-davidgow@google.com> From: Rae Moar Date: Thu, 1 Dec 2022 15:48:39 -0500 Message-ID: Subject: Re: [PATCH] Documentation: kunit: Fix "How Do I Use This" / "Next Steps" sections To: David Gow Cc: Shuah Khan , Brendan Higgins , Sadiya Kazi , Jonathan Corbet , Daniel Latypov , linux-kernel@vger.kernel.org, kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Tue, Nov 29, 2022 at 4:47 AM David Gow wrote: > > The 'index' and 'start' pages end with very similar "How Do I Use This" > / "Next Steps" sections respectively, which link to the other > documentation pages. This wasn't updated when the tips.rst page was > removed. > > Remove the reference to tips.rst, as well as tidy up the descriptions on > all of the links (especially given that sphinx gives the page titles > anyway. > > Fixes: 4399c737a97d ("Documentation: kunit: Remove redundant 'tips.rst' page") > Signed-off-by: David Gow This all looks good to me and runs smoothly. I personally like to have these links at the bottom of the page and think the new descriptions are good. I commented on a few of them below. Reviewed-by: Rae Moar > --- > Documentation/dev-tools/kunit/index.rst | 18 +++++++----------- > Documentation/dev-tools/kunit/start.rst | 16 ++++++---------- > 2 files changed, 13 insertions(+), 21 deletions(-) > > diff --git a/Documentation/dev-tools/kunit/index.rst b/Documentation/dev-tools/kunit/index.rst > index d5629817cd72..beec6f847ef4 100644 > --- a/Documentation/dev-tools/kunit/index.rst > +++ b/Documentation/dev-tools/kunit/index.rst > @@ -99,14 +99,10 @@ Read also :ref:`kinds-of-tests`. > How do I use it? > ================ > > -* Documentation/dev-tools/kunit/start.rst - for KUnit new users. > -* Documentation/dev-tools/kunit/architecture.rst - KUnit architecture. > -* Documentation/dev-tools/kunit/run_wrapper.rst - run kunit_tool. > -* Documentation/dev-tools/kunit/run_manual.rst - run tests without kunit_tool. > -* Documentation/dev-tools/kunit/usage.rst - write tests. > -* Documentation/dev-tools/kunit/tips.rst - best practices with > - examples. > -* Documentation/dev-tools/kunit/api/index.rst - KUnit APIs > - used for testing. > -* Documentation/dev-tools/kunit/faq.rst - KUnit common questions and > - answers. > +* Documentation/dev-tools/kunit/start.rst - for new KUnit users > +* Documentation/dev-tools/kunit/architecture.rst - how KUnit is put together I might slightly prefer Sadiya's version of this description: "get to know KUnit's design." But I would be happy with either description. > +* Documentation/dev-tools/kunit/run_wrapper.rst - run tests via kunit.py > +* Documentation/dev-tools/kunit/run_manual.rst - run tests without kunit.py > +* Documentation/dev-tools/kunit/usage.rst - write tests I might slightly prefer "write KUnit tests" instead because with the current description the line looks like: Writing Tests - write tests This seems a little repetitive, so "write KUnit tests" might be slightly better. But this description is accurate and I would be fine with it. > +* Documentation/dev-tools/kunit/api/index.rst - API reference > +* Documentation/dev-tools/kunit/faq.rst - common questions and answers > diff --git a/Documentation/dev-tools/kunit/start.rst b/Documentation/dev-tools/kunit/start.rst > index f4f504f1fb15..58c176348885 100644 > --- a/Documentation/dev-tools/kunit/start.rst > +++ b/Documentation/dev-tools/kunit/start.rst > @@ -294,13 +294,9 @@ Congrats! You just wrote your first KUnit test. > Next Steps > ========== > > -* Documentation/dev-tools/kunit/architecture.rst - KUnit architecture. > -* Documentation/dev-tools/kunit/run_wrapper.rst - run kunit_tool. > -* Documentation/dev-tools/kunit/run_manual.rst - run tests without kunit_tool. > -* Documentation/dev-tools/kunit/usage.rst - write tests. > -* Documentation/dev-tools/kunit/tips.rst - best practices with > - examples. > -* Documentation/dev-tools/kunit/api/index.rst - KUnit APIs > - used for testing. > -* Documentation/dev-tools/kunit/faq.rst - KUnit common questions and > - answers. > +* Documentation/dev-tools/kunit/architecture.rst - how KUnit is put together > +* Documentation/dev-tools/kunit/run_wrapper.rst - run tests via kunit.py > +* Documentation/dev-tools/kunit/run_manual.rst - run tests without kunit.py > +* Documentation/dev-tools/kunit/usage.rst - write tests > +* Documentation/dev-tools/kunit/api/index.rst - API reference > +* Documentation/dev-tools/kunit/faq.rst - common questions and answers > -- > 2.38.1.584.g0f3c55d4c2-goog >