Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp58516rwb; Thu, 22 Sep 2022 14:24:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Bnw0FUcf47SatsPlTmIwZUeJOeqdi1fUXLZzX0SssgqfqRYeXLW1NR9iIsdagZcYgKcPn X-Received: by 2002:a05:6402:e01:b0:442:dd7e:f49d with SMTP id h1-20020a0564020e0100b00442dd7ef49dmr5306070edh.355.1663881852106; Thu, 22 Sep 2022 14:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663881852; cv=none; d=google.com; s=arc-20160816; b=swvlKrxnyEGJlDhNIhJCAkYMmyx07+ZbgCK0CJgLJbSeaSaAmyH/BCCKYLxc2+8jJt QFJ59CO8hd+QoxZlQpAc5X1avirIVn7PgZPT3B0rSuvZvDqIDW7kKPdSqOzWxhNNPmw3 Uu29T2doc9kcxzys+eonKGbB0aRZ6ItPMwpSdRFdCBnwNzVMWOUdABSCquBv2pitFa/t ehNar06x9Cu2C/k9WUXlRXjmSRtUo+m41L1CCcshVTY8F5y6apFyWfXeuhE1kBbCO4Jp u6xAx1wPLyC/TCNNPE6bx4ExDqfTH5elHnZ1BYxfDz+DcyWMmXJaB4lm5Ss0XmEyvSac syag== 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 :dkim-signature:dkim-filter; bh=hbXxi/o9yXRSMapz7jMNxcodnhQ4mcFG1KalhkuX7Qk=; b=DdjwM9zQIca8Wd+lxVyFujR91goc1oQ5HnE/9aigoWAUu3wdL6UD4EKMrwWoRyLRHk r9ah5UNvK31QsKlwQZuMjhjbRaFX/OgVCiztMRBbgUnUegDff+LENUCzgGfDVhEdKqNv x6Pd0OkanxBYXWvui7UbC9PMWJ//77OzdDG6jnrpVbr/l34GpgTuSKPQP6tcn7iDEEGT gbojcHZu4iLGV54a0VA9EEEFJkLeWgGdpDCpQg570n910B/De/n3ChfxOyher3D5ZanR 8BgfSpn5laUzTJeuTBIgaDBIAbpecJFdL97Ni+rNwUOXIlYAzsoIoO/LdanwyumVMwzm CgAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=XjLMNb2q; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc17-20020a170907169100b007822665aa3csi5444185ejc.911.2022.09.22.14.23.46; Thu, 22 Sep 2022 14:24:12 -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; dkim=pass header.i=@lwn.net header.s=20201203 header.b=XjLMNb2q; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230020AbiIVUmF (ORCPT + 99 others); Thu, 22 Sep 2022 16:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbiIVUmC (ORCPT ); Thu, 22 Sep 2022 16:42:02 -0400 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18FFA2BE00; Thu, 22 Sep 2022 13:42:00 -0700 (PDT) Received: from meer.lwn.net (unknown [IPv6:2601:281:8300:73::5f6]) by ms.lwn.net (Postfix) with ESMTPA id 2E284845; Thu, 22 Sep 2022 20:42:00 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 2E284845 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1663879320; bh=hbXxi/o9yXRSMapz7jMNxcodnhQ4mcFG1KalhkuX7Qk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XjLMNb2qPbsA5ZboTItlvj7IxLkOdDjgyq2wh9jRKn+3E5J8bxq8c5JWAy/ioI5JP FGUNXBKcQpl9LoHQLDQ6pgNiv1emPWb3J+cKHMoGgFPvYaKR6PO6yDLi32G6Z5hO3k 3K8S4UtZ1Al5oxppmjl7r8lwVG+2/5zfwuDMiXciFTnT1p4Ize5UARXj7WaHRgE9/N Tfv/0GtdPgMSjWtNVL/04+7jrFOiJZsMlWJH0Iy9Gs9NzW4b+zuKYNoi9OPN4HiscH VpZ+rNxtmo5qi/y0lb5V1VZQJp05JouqutsogRoO+dK5N139M3ISea9YTcfDV0bKGS AWKaZSLqBHYdQ== From: Jonathan Corbet To: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thorsten Leemhuis , Kees Cook , Jani Nikula , Jonathan Corbet Subject: [PATCH v2 2/7] docs: Rewrite the front page Date: Thu, 22 Sep 2022 14:41:33 -0600 Message-Id: <20220922204138.153146-3-corbet@lwn.net> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220922204138.153146-1-corbet@lwn.net> References: <20220922204138.153146-1-corbet@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 The front page is the entry point to the documentation, especially for people who read it online. It's a big mess of everything we could think to toss into it. Rewrite the page with an eye toward simplicity and making it easy for readers to get going toward what they really want to find. This is only a beginning, but it makes our docs more approachable than before. Signed-off-by: Jonathan Corbet --- Documentation/index.rst | 150 +++++++++++-------------------- Documentation/subsystem-apis.rst | 58 ++++++++++++ 2 files changed, 111 insertions(+), 97 deletions(-) create mode 100644 Documentation/subsystem-apis.rst diff --git a/Documentation/index.rst b/Documentation/index.rst index 4737c18c97ff..e0b593486e7d 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@ -18,131 +18,88 @@ 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. -Licensing documentation ------------------------ +Working with the development community +-------------------------------------- -The following describes the license of the Linux kernel source code -(GPLv2), how to properly mark the license of individual files in the source -tree, as well as links to the full license text. - -* :ref:`kernel_licensing` - -User-oriented documentation ---------------------------- - -The following manuals are written for *users* of the kernel — those who are -trying to get it to work optimally on a given system. +The essential guides for interacting with the kernel's development +community and getting your work upstream. .. toctree:: - :maxdepth: 2 - - admin-guide/index - kbuild/index - -Firmware-related documentation ------------------------------- -The following holds information on the kernel's expectations regarding the -platform firmwares. + :maxdepth: 1 -.. toctree:: - :maxdepth: 2 + process/development-process + process/submitting-patches + Code of conduct + maintainer/index + All development-process docs - firmware-guide/index - devicetree/index -Application-developer documentation ------------------------------------ +Internal API manuals +-------------------- -The user-space API manual gathers together documents describing aspects of -the kernel interface as seen by application developers. +Manuals for use by developers working to interface with the rest of the +kernel. .. toctree:: - :maxdepth: 2 - - userspace-api/index + :maxdepth: 1 + core-api/index + driver-api/index + subsystem-apis + Locking in the kernel -Introduction to kernel development ----------------------------------- +Development tools and processes +------------------------------- -These manuals contain overall information about how to develop the kernel. -The kernel community is quite large, with thousands of developers -contributing over the course of a year. As with any large community, -knowing how things are done will make the process of getting your changes -merged much easier. +Various other manuals with useful information for all kernel developers. .. toctree:: - :maxdepth: 2 + :maxdepth: 1 - process/index - dev-tools/index + process/license-rules doc-guide/index + dev-tools/index + dev-tools/testing-overview kernel-hacking/index trace/index - maintainer/index fault-injection/index livepatch/index -Kernel API documentation ------------------------- +User-oriented documentation +--------------------------- -These books get into the details of how specific kernel subsystems work -from the point of view of a kernel developer. Much of the information here -is taken directly from the kernel source, with supplemental material added -as needed (or at least as we managed to add it — probably *not* all that is -needed). +The following manuals are written for *users* of the kernel — those who are +trying to get it to work optimally on a given system and application +developers seeking information on the kernel's user-space APIs. .. toctree:: - :maxdepth: 2 + :maxdepth: 1 + + admin-guide/index + The kernel build system + admin-guide/reporting-issues.rst + User-space tools + userspace-api/index + + +Firmware-related documentation +------------------------------ +The following holds information on the kernel's expectations regarding the +platform firmwares. + +.. toctree:: + :maxdepth: 1 + + firmware-guide/index + devicetree/index - driver-api/index - core-api/index - locking/index - accounting/index - block/index - cdrom/index - cpu-freq/index - fb/index - fpga/index - hid/index - i2c/index - iio/index - isdn/index - infiniband/index - leds/index - netlabel/index - networking/index - pcmcia/index - power/index - target/index - timers/index - spi/index - w1/index - watchdog/index - virt/index - input/index - hwmon/index - gpu/index - security/index - sound/index - crypto/index - filesystems/index - mm/index - bpf/index - usb/index - PCI/index - scsi/index - misc-devices/index - scheduler/index - mhi/index - peci/index Architecture-agnostic documentation ----------------------------------- .. toctree:: - :maxdepth: 2 + :maxdepth: 1 asm-annotations @@ -150,7 +107,7 @@ Architecture-specific documentation ----------------------------------- .. toctree:: - :maxdepth: 2 + :maxdepth: 1 arch @@ -163,9 +120,8 @@ of the documentation body, or may require some adjustments and/or conversion to ReStructured Text format, or are simply too old. .. toctree:: - :maxdepth: 2 + :maxdepth: 1 - tools/index staging/index diff --git a/Documentation/subsystem-apis.rst b/Documentation/subsystem-apis.rst new file mode 100644 index 000000000000..af65004a80aa --- /dev/null +++ b/Documentation/subsystem-apis.rst @@ -0,0 +1,58 @@ +.. SPDX-License-Identifier: GPL-2.0 + +============================== +Kernel subsystem documentation +============================== + +These books get into the details of how specific kernel subsystems work +from the point of view of a kernel developer. Much of the information here +is taken directly from the kernel source, with supplemental material added +as needed (or at least as we managed to add it — probably *not* all that is +needed). + +**Fixme**: much more organizational work is needed here. + +.. toctree:: + :maxdepth: 1 + + driver-api/index + core-api/index + locking/index + accounting/index + block/index + cdrom/index + cpu-freq/index + fb/index + fpga/index + hid/index + i2c/index + iio/index + isdn/index + infiniband/index + leds/index + netlabel/index + networking/index + pcmcia/index + power/index + target/index + timers/index + spi/index + w1/index + watchdog/index + virt/index + input/index + hwmon/index + gpu/index + security/index + sound/index + crypto/index + filesystems/index + mm/index + bpf/index + usb/index + PCI/index + scsi/index + misc-devices/index + scheduler/index + mhi/index + peci/index -- 2.37.2