Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp627186pxb; Tue, 1 Feb 2022 07:15:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7kt0NCjmutkY+FQ1xk67EO3dZSkO5HBYA0me7A/JsUsaBPHyKlzUr4hwijm6L1CyTtguk X-Received: by 2002:a17:902:e844:: with SMTP id t4mr25893053plg.104.1643728539600; Tue, 01 Feb 2022 07:15:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643728539; cv=none; d=google.com; s=arc-20160816; b=1FDknauuGn7Nk2sCXKTZK4/w1TdtrxejHh+N7iQMKGAbFT21rsyx/nCRzjyosDdpD4 nEzv15khHS6aPiCZytubjBbMc10TDaqIDzdnbT0zNw5mi9s8jGRSUCdqxDUITPKqhfNB +HjSY5pj9vn/3y3MXqs+JaVD1+x6KWKj17M3GoAChmmahvd0LY0vce7sd9wiRgfpAsvz yJ8LmNF5dzeiKqE6gzPKPNlq8mnw2dG8RImfijBG3MRaGeuEMlte3qINmiiNf+ZoGPys FHsjMsICHHbogftYRQ4+Wr9tA4/tK/Yg7jf630v2MJcqglRXlLo+76YKwBu8cR1C0vUQ Nw0Q== 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:date:subject:cc:to:from:dkim-signature; bh=RAr/avbZ9dvrmyFHTddz+fhHj1lJqbBwGsig25CiDDI=; b=BfKXKUv3oKZjLwOWIFAc2NAZiQZf3UHeLGYSVcoO40d8X2krnX800ZzbOp8c0Uf72C 3utPcZRH1YdwwqpmdJvhhWBIdUlqZOvjgFJIq2wTS5+CjU2/TXBXHi+Yb+7ZvwvqhylM 4+RogC2gwElkanqQq3TVvx8TibhNLDXhErHmAw23h5lDpVzsqbl3uyqQSIgVRtL6pD0f /CJrrTs3amQzyBbXMAPQsixXfxubrZJT0eFFJ3xuOaYcl2+3tCKiEii7D2C/eg841td9 MFByZoXPS82mR94XvNo8pg5RMo0Zj5YBpzoxK+UlC0QnDrPUqs2QRFkOSUasc9blpWkj 5mCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Q5pgL7x9; 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 b3si18169119plh.40.2022.02.01.07.15.26; Tue, 01 Feb 2022 07:15:39 -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=@infradead.org header.s=bombadil.20210309 header.b=Q5pgL7x9; 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 S1357206AbiAaAgk (ORCPT + 99 others); Sun, 30 Jan 2022 19:36:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357015AbiAaAgj (ORCPT ); Sun, 30 Jan 2022 19:36:39 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CF7FC061714; Sun, 30 Jan 2022 16:36:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=RAr/avbZ9dvrmyFHTddz+fhHj1lJqbBwGsig25CiDDI=; b=Q5pgL7x9/+uPI4odK3PwxZmPOO Aw4n1NJ8HdAvRhqj2TmO7BmuTY2cyrmdHpl4qm+nU1c12LL2f+MPmVmvTrnVsCjTB2QdltSYaLU+x 5a7HFjlT1PMJP+CuE3IZeC4V4mlJe9f5dV8hubhOjAteYaYwMHUZh//R5G1fCDwwzNhWjACw0OWR2 QFB6d5VlykzSOkRtGCxwkrn5KU99IDefWAH1BOLThEzHcWFZgkJwuUCBlUWlWMGzc+jlxzfBpKg3n vNkO9sIPJQWN9GI4zqYTMPj6l+Wh16KntfRNtvV2A7xWBdXCZEcG8ZKrbQacDPmnKlWUpC/rhXG5Z +HZRb7QA==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEKgQ-007mQL-GL; Mon, 31 Jan 2022 00:36:38 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Rae Moar , David Gow , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH] Docs: ktap: add code-block type Date: Sun, 30 Jan 2022 16:36:37 -0800 Message-Id: <20220131003637.14274-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix multiple "code-block::" warnings by adding "none" as the type of code-block. Mends these warnings: Documentation/dev-tools/ktap.rst:71: WARNING: Error in "code-block" directive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:120: WARNING: Error in "code-block" directive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:126: WARNING: Error in "code-block" directive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:132: WARNING: Error in "code-block" directive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:139: WARNING: Error in "code-block" directive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:145: WARNING: Error in "code-block" directive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:195: WARNING: Error in "code-block" directive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:208: WARNING: Error in "code-block" directive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:238: WARNING: Error in "code-block" directive: 1 argument(s) required, 0 supplied. Fixes: a32fa6b2e8b4 ("Documentation: dev-tools: Add KTAP specification") Signed-off-by: Randy Dunlap Cc: Rae Moar Cc: David Gow Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- Documentation/dev-tools/ktap.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) --- linux-next-20220128.orig/Documentation/dev-tools/ktap.rst +++ linux-next-20220128/Documentation/dev-tools/ktap.rst @@ -68,7 +68,7 @@ Test case result lines Test case result lines indicate the final status of a test. They are required and must have the format: -.. code-block:: +.. code-block:: none [][ # [] []] @@ -117,32 +117,32 @@ separator. Example result lines include: -.. code-block:: +.. code-block:: none ok 1 test_case_name The test "test_case_name" passed. -.. code-block:: +.. code-block:: none not ok 1 test_case_name The test "test_case_name" failed. -.. code-block:: +.. code-block:: none ok 1 test # SKIP necessary dependency unavailable The test "test" was SKIPPED with the diagnostic message "necessary dependency unavailable". -.. code-block:: +.. code-block:: none not ok 1 test # TIMEOUT 30 seconds The test "test" timed out, with diagnostic data "30 seconds". -.. code-block:: +.. code-block:: none ok 5 check return code # rcode=0 @@ -192,7 +192,7 @@ line and should end before the parent te An example of a test with two nested subtests: -.. code-block:: +.. code-block:: none KTAP version 1 1..1 @@ -205,7 +205,7 @@ An example of a test with two nested sub An example format with multiple levels of nested testing: -.. code-block:: +.. code-block:: none KTAP version 1 1..2 @@ -235,7 +235,7 @@ nested version line, uses a line of the Example KTAP output -------------------- -.. code-block:: +.. code-block:: none KTAP version 1 1..1