Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1440441rwb; Wed, 26 Jul 2023 12:32:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlE8UMOnp/H+3Xg8EO6CI8ubybd48cQhZzZnmP4dTpRPytG/auy5k/MAhuM9VoU7X2kpWsCC X-Received: by 2002:a05:6a00:1252:b0:668:731b:517e with SMTP id u18-20020a056a00125200b00668731b517emr3351145pfi.24.1690399920682; Wed, 26 Jul 2023 12:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690399920; cv=none; d=google.com; s=arc-20160816; b=yterK+gHykV+Fbo+Tcv1q1xVLBqK8ZA16k8C2XRtnmUqJJFSfUc5jYjvieRz96elLa 8YH+MJrPB5uu66RZqHXGhblSmVkgNr9yeJ/qOZyMgt1OX8xrUKGt6UCz0V11mngSb6kv 8Xjqm7Ckk31vVMGobZpwAQaoJrLOf9E+hIjdCjx3dAUZ54zdEhIIFfVIwCbcUOfzQDB1 5l6o3AycR3b6mu6uczbJM+/7oCXFaujCPW9c5nPAN9cqWdiyYdQA/8hCYmP52z71ynJj w+d8RpObhDS9MmLFhBJKBidqy0q3LWb71B8Xh7sfEDD7U6GIAB2UknXOBb7V5Fd/gb1R M5Ow== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ZHyX3wq0ojFXPUI8SahCi1FQW7IJesz87c8DpSzeOCw=; fh=TDvUSEAsZXcowNStp5wjHFncu9pidKRtnDz/TRvZ/EM=; b=0YtPAmpSRrIu9YoNr5XdtzDl/gmRWdXiS4EQ5Muc6OGbD0LXs4JvoF4iWVgkUZQ+cr L1dHgmV5vppIXArPy8yKHDqSRYCpArFzpAEqhn75u0HP1LUHaYQVXL4slUKv4vMtA/rV 4mck8iyXwelDt10/hRe++DNKnNYF9cg7w5OUQxrEqn9FhWtutjxyGrw6UHLrttIGHxv1 xp8avp4O/qNXrLgGch7yHhRMR8qKzBbLiben3rhVCoV/ZFIscj/h902cjkTDgst78xx4 3u8R36UY0FMdTGUTNBp20EqGDGC8xxbBWnom5LbmiCcSQHxznbXL3xZ9Y0GllwwYGXr2 LEPA== ARC-Authentication-Results: i=1; mx.google.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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c189-20020a621cc6000000b0068208d19b15si12761648pfc.249.2023.07.26.12.31.47; Wed, 26 Jul 2023 12:32:00 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230484AbjGZSv1 (ORCPT + 99 others); Wed, 26 Jul 2023 14:51:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjGZSv0 (ORCPT ); Wed, 26 Jul 2023 14:51:26 -0400 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93BBC1FEC; Wed, 26 Jul 2023 11:51:25 -0700 (PDT) Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-7672073e7b9so11358485a.0; Wed, 26 Jul 2023 11:51:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690397484; x=1691002284; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZHyX3wq0ojFXPUI8SahCi1FQW7IJesz87c8DpSzeOCw=; b=kkUQgqr8T6q3+LtXE/B8F6jrpfBEFq856rQ0WmbhThXP00OupGuaodeYaegjscoJap whz2SE9rnmKYuX7eq/ABaH+Fl3XQZX29+4RjCKmFygh/dWXbeyrn8THH1hZn8d4OMpsa S6xPdiDP/j7DVZ6VbvLq+u0l245iOkEN3mmtf9nuINfdA/S51QzQe6H/qkmgU9bZD5fc PM25HJnBOaqhV5gd9+KuAW+fKLtkz1FwSyLeq2v1XCdaq1afihmcsyHNGItpeW5zyMyR lIuEhPaX3B9k8Ra+L+OkfEM5PeWXAZ99kG/5ehj/zOtrjvLpSTSOsr7498QJFr9Zt8Kb 5byA== X-Gm-Message-State: ABy/qLaKfRxj8QuO4kCCx5fmWcf+n9iHB5TL4AzREuDPPIqX1LpRTb3v F8rUQUqEbbsiaDdReabo2T4blv02G+iBTg== X-Received: by 2002:ac8:5bd5:0:b0:403:a4d3:a633 with SMTP id b21-20020ac85bd5000000b00403a4d3a633mr3560424qtb.66.1690397484502; Wed, 26 Jul 2023 11:51:24 -0700 (PDT) Received: from costa-tp.bos2.lab ([2a00:a040:199:8930:2c90:cb9e:b154:73dc]) by smtp.gmail.com with ESMTPSA id b3-20020ac86783000000b0040324785e4csm4939197qtp.13.2023.07.26.11.51.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 11:51:24 -0700 (PDT) From: Costa Shulyupin To: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, workflows@vger.kernel.org Cc: Costa Shulyupin Subject: [RFC PATCH v2] docs: rework "Working with the development community" Date: Wed, 26 Jul 2023 21:49:37 +0300 Message-ID: <20230726184939.3118350-1-costa.shul@redhat.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <87ila9atuk.fsf@meer.lwn.net> References: <87ila9atuk.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 Mission: Make the documentation more readable, organized and maintainable. NB: no information content is lost of changed on the rendered top page. This patch demonstrates rework of the only the first section of the top page for review. The proposal is to rework all sections. Summary of changes: - Heading "Working with the development community" is converted into branch of toctree and visually moved after the text "The essential guides for interacting ..." - toctree list is split into separated file. Please don't worry, the content of the list is incorporated to the top page because of `:maxdepth: 2` - vertical bar '|' add empty line for better visual distribution Technical explanations: Template {{ toctree(maxdepth=3) }} in Documentation/sphinx/templates/kernel-toc.html uses directives toctree and doesn't use sections on the top page Documentation/index.rst to generate expandable toc on the sidebar. BTW, other template {{ toc }} uses only sections, and doesn't use directives toctree. Benefit: - toc on side bar is expandable and collapsible --- References: - https://www.sphinx-doc.org/en/master/development/templating.html#toctree - https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-toctree - https://www.sphinx-doc.org/en/master/development/templating.html#toc - https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#sections - https://sphinx-rtd-theme.readthedocs.io/ Signed-off-by: Costa Shulyupin --- Documentation/index.rst | 12 +++--------- Documentation/process/main.rst | 13 +++++++++++++ 2 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 Documentation/process/main.rst diff --git a/Documentation/index.rst b/Documentation/index.rst index 9dfdc826618c..560eb0bc78dd 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@ -13,21 +13,15 @@ documents into a coherent whole. Please note that improvements to the documentation are welcome; join the linux-doc list at vger.kernel.org if you want to help out. -Working with the development community -====================================== +| The essential guides for interacting with the kernel's development community and getting your work upstream. .. toctree:: - :maxdepth: 1 - - process/development-process - process/submitting-patches - Code of conduct - maintainer/index - All development-process docs + :maxdepth: 2 + process/main Internal API manuals ==================== diff --git a/Documentation/process/main.rst b/Documentation/process/main.rst new file mode 100644 index 000000000000..40bab4ff8198 --- /dev/null +++ b/Documentation/process/main.rst @@ -0,0 +1,13 @@ +.. SPDX-License-Identifier: GPL-2.0 + +Working with the development community +====================================== + +.. toctree:: + :maxdepth: 1 + + development-process + submitting-patches + Code of conduct + ../maintainer/index + All development-process docs <../process/index> -- 2.41.0