docs: rework the userspace-api top page
authorJonathan Corbet <corbet@lwn.net>
Mon, 22 Jan 2024 22:18:30 +0000 (15:18 -0700)
committerJonathan Corbet <corbet@lwn.net>
Tue, 30 Jan 2024 20:47:56 +0000 (13:47 -0700)
Add some subsection headings and reorder entries so that the page makes a
bit more sense.  With luck, adding some ordering will also reduce merge
conflicts due to everybody adding new entries at the end.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/87ttn5m2q1.fsf@meer.lwn.net
Documentation/userspace-api/index.rst

index 09f61bd2ac2ef5a471a04f03ac59b24bdb3a8878..99a388fdefb5c14cba2f177bae7ccc4c309ba8ea 100644 (file)
@@ -9,31 +9,55 @@ While much of the kernel's user-space API is documented elsewhere
 also be found in the kernel tree itself.  This manual is intended to be the
 place where this information is gathered.
 
+
+System calls
+============
+
 .. toctree::
-   :caption: Table of contents
-   :maxdepth: 2
+   :maxdepth: 1
+
+   unshare
+   futex2
+   ebpf/index
+   ioctl/index
+
+Security-related interfaces
+===========================
+
+.. toctree::
+   :maxdepth: 1
 
    no_new_privs
    seccomp_filter
    landlock
-   unshare
+   lsm
    spec_ctrl
+   tee
+
+Devices and I/O
+===============
+
+.. toctree::
+   :maxdepth: 1
+
    accelerators/ocxl
    dma-buf-alloc-exchange
-   ebpf/index
-   ELF
-   ioctl/index
    iommu
    iommufd
    media/index
-   netlink/index
-   sysfs-platform_profile
+   dcdbas
    vduse
-   futex2
-   lsm
-   tee
    isapnp
-   dcdbas
+
+Everything else
+===============
+
+.. toctree::
+   :maxdepth: 1
+
+   ELF
+   netlink/index
+   sysfs-platform_profile
 
 .. only::  subproject and html