Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1255158rwb; Tue, 27 Sep 2022 10:21:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ncPMtdhxkd3YjlvwHxX47ApnVwbB/zxvTvrB+fJh3dJ/PQ/MKFkQ2mS1xWAeptX1izd7o X-Received: by 2002:a17:902:a707:b0:178:bd1e:e8be with SMTP id w7-20020a170902a70700b00178bd1ee8bemr28318725plq.167.1664299280510; Tue, 27 Sep 2022 10:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664299280; cv=none; d=google.com; s=arc-20160816; b=qexNL0ffW5C1N+6Cjsf+mimLqCY6rDwbwMPCDESJlUkK4D43kMeNrxztT6YXlIzkmY pO7pDPlp9g6GTZH0Daz3DTYCrqLCkhMjKQr14OZJHkeHyMrtU3AbwL0hBeayFQ3LuWCP TQHw9Jx9caoiJr7G4U3NPnYy36KXaP2jbCK1M1AYmRx73Kig2NqYdRdNQ5WbrKmfnGBx NesmgdE3zeGkcO9VARfUqVdQiKlpgtWtkqtRCYsz/x1uJbhRunoC0Rk24GecFZsmli64 cssQwn0b3pFtqIAfxmlzqQtEtW1RPPXPkglRCfV+kToPvYpe7lV3rdaW9gbZde7A7QSi l5Ng== 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=UFYe8xzWcuhHcQH4mg5EAhC1oMb+VzADqFPyelWq9YE=; b=ULvu3pNHJDiWTu90XqnAsCszAZCHb29ZVHKGd01YmxGWLc7hvmw4PTNOdkHNxYMxF+ ooN9rawGDpUxTR7sw6duwadxjIsKz8tUyduy/NntWmaUdBlBdG2oMOoO7ZH2uaJiRTfU t5F1z+PTuRFcNpZNTqRFlOObAFeX3o9UYWM1KIF42pUqQPxtQDfJ0esn8QeJGZhBX18Y 605k1WjykUuDtxbpWjY6hVA4P0+IsuJqj2HXffah+M0rhRH6hGgSWwPKEreUvTguHsRJ JhgfNcNbi9tQavJGTWxUaPcflZ+6dgkrBnc1Ud+rCDLl1MC5Zyvl/WsODflf3h4zvxMO n5yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=q0IlrMlm; 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 w3-20020a170902ca0300b0016c4fc2de44si2128464pld.456.2022.09.27.10.21.07; Tue, 27 Sep 2022 10:21:20 -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=q0IlrMlm; 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 S232972AbiI0QID (ORCPT + 99 others); Tue, 27 Sep 2022 12:08:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232679AbiI0QHa (ORCPT ); Tue, 27 Sep 2022 12:07:30 -0400 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 576F612636; Tue, 27 Sep 2022 09:06:15 -0700 (PDT) Received: from meer.lwn.net (unknown [IPv6:2601:281:8300:73::5f6]) by ms.lwn.net (Postfix) with ESMTPA id 5EA1D734; Tue, 27 Sep 2022 16:06:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 5EA1D734 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1664294774; bh=UFYe8xzWcuhHcQH4mg5EAhC1oMb+VzADqFPyelWq9YE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q0IlrMlmAoXaltAh1IGt8EiCQYVtD16CT3KW4wcrNrAyv6qX97oSOXNSfQjmxA0Yl lqDlnZCvyODndylh6vgJoO9sJjM2G0Jl9wI3nc6rbClkF5q2BgTVl/BdSG73tzcB1O 6KAcAFAmBKiSYcvp3joh39zzbYgeAV6NHzOsF+7b2oRVzKDgagdLlbzMScvzPNIbn1 sAedST2Q76GX1MwIAlvtOhFGr//fGTqT2Xf8BKSuVzehLwK+ntwcr+7ylqUQ5JgQYV 3IHh6ZeQU/xu0fSgS0pIlvoUATTzCyP+LLRz/CMCT4f1pcoyXQn4IjLElmF0C4C16V wQvPqR82QVvXw== From: Jonathan Corbet To: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thorsten Leemhuis , Kees Cook , Jani Nikula , Joe Perches , David Vernet , Jonathan Corbet , Jani Nikula Subject: [PATCH v3 2/7] docs: Rewrite the front page Date: Tue, 27 Sep 2022 10:05:54 -0600 Message-Id: <20220927160559.97154-3-corbet@lwn.net> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220927160559.97154-1-corbet@lwn.net> References: <20220927160559.97154-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. Acked-by: Jani Nikula Reviewed-by: David Vernet Signed-off-by: Jonathan Corbet --- Documentation/index.rst | 148 +++++++++++-------------------- Documentation/subsystem-apis.rst | 58 ++++++++++++ 2 files changed, 110 insertions(+), 96 deletions(-) create mode 100644 Documentation/subsystem-apis.rst diff --git a/Documentation/index.rst b/Documentation/index.rst index 4737c18c97ff..bc492e79f1be 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 @@ -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