Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp8025729rwn; Wed, 14 Sep 2022 07:57:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR4FR8weQIlsfT8neDKVaxW24kVsrqbdMwuksiK19usXtHehMzF2e4dxTKOWVvn/yyBNMXOb X-Received: by 2002:a17:907:1c82:b0:77d:bc83:e192 with SMTP id nb2-20020a1709071c8200b0077dbc83e192mr10339002ejc.712.1663167434366; Wed, 14 Sep 2022 07:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663167434; cv=none; d=google.com; s=arc-20160816; b=m5foH/QhJdmLyOGlXHSZiKTLXpDdnkD1SZaMSdQfujvutSU+CctG2lTOUA0Lsg0YRO W5xp9UBBH7WU0GMQnbxtOpetsaH3/yWfJhcfPmyYvkk1GjudY93K8msSp1s27gFt2vjq FXLEYEWK+S3TJ8GkzMuAL7VOvNusMtI6hrDtxtN2v3lCvT+OSX3pccK8a5WzQSFYjokS qtnUlYHVzh1V4U+7Oe+WtDl8YmOH6LEo0+BNjLAlRB52F5DCcDuvqswnFoYHLbeqAafR sMdHB2vz4e8vrwLnndyPB7Bu5mfflfIS9DcYIFRkrOeeacC4nk1DklZfd6aGlUXsiFrd Vosw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rd6Fj2fC8Goem3fWccKD0y03WABlAKjmm2Db9Cox5Tw=; b=xkA4eIu/R/K7qHRs1w/jFrixri13IT+qRnDDmBB54SspNIfK8cwhFM2zlgeZlvDyZ/ vHTO6Ub51kindfx1wo3VeVLGobuf4n/4aE9NjAcwC6A1cAtSYPVRC9wpGX8g3ZVMKKlY pGaIV7xqF+1EtrI8QeSUWk7zEyK5iB+U75wnkTNOajMWi34ogd3T36WW1/K17Lgozf2S qLOnQhNumORpVwcHj7cKXaNuaBdAHhsHMgFrN0E45YfE4bpgI2o79IpN+k4bNvbgaBO2 1ZDNNaxYChFxv0SmPTVMkvU0WK9ogYaSknKLnIbPS+pUxZ2OLXeZlPymiBFDcJdjZCKw 6C2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=H4w3kD3h; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a056402090d00b0044ce972297bsi14881114edz.561.2022.09.14.07.56.48; Wed, 14 Sep 2022 07:57:14 -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=@chromium.org header.s=google header.b=H4w3kD3h; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229513AbiINOc7 (ORCPT + 99 others); Wed, 14 Sep 2022 10:32:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230034AbiINOc5 (ORCPT ); Wed, 14 Sep 2022 10:32:57 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F4922B1AC for ; Wed, 14 Sep 2022 07:32:55 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so19172302pjq.3 for ; Wed, 14 Sep 2022 07:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=rd6Fj2fC8Goem3fWccKD0y03WABlAKjmm2Db9Cox5Tw=; b=H4w3kD3hFmJlmPgcet5r8dxOsHw//Z34IatU/K6OyD43YK4ed++kCCm11SFyN8qqOo Bc7GNbvKKBIsoFe08tSzGNkqdNSYLrOD86jzfTTZHZvTb9Y1xyp1+jctaR08fBt9ocs7 6bHYUCKWcllmAUlmYA92wh3wI6YTx9Hjk+tsU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=rd6Fj2fC8Goem3fWccKD0y03WABlAKjmm2Db9Cox5Tw=; b=BijYAn8125yayS0F0C9BKGgjuLEqQjspEN0nciMZHOYpomRlFYYDcnTvHr15xdeZYL khnzi3oQBK+0uO6gU1utvhg5OL43qxdi73GIh1tFPNArtg2BVZf+2RcEUGlZ5NXwUMQh zJtJTOHjcFwH9QcVFgvMRBm7ooNhecNEHB3sKlVHaAOq7GsCskyPAqZI2vZI3u5YFYYr qKVaDEhhVB4C8wBkXGCOMq6IZhGj9L12wSJMg7ZN4MpkORRgZ+Y/dwY/RUtr1oQgPNBZ hZjXbrvCA2bnIJgcLpmX44hWdgdU0XsqX7vKYHntjZMxfs3ZellGTOlpiAIue7Wi0tmm Bh2A== X-Gm-Message-State: ACrzQf3uvW37vfY6cabQofwcMS3FlzYAELbRiWyZ3YuWpLnqGt93GxkW E6vskOTCImRJOcOXflEimXFagw== X-Received: by 2002:a17:90b:4c0a:b0:202:54cc:6d5 with SMTP id na10-20020a17090b4c0a00b0020254cc06d5mr5111424pjb.121.1663165975042; Wed, 14 Sep 2022 07:32:55 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id m3-20020a638c03000000b0042bd73400b6sm9801656pgd.87.2022.09.14.07.32.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 07:32:54 -0700 (PDT) Date: Wed, 14 Sep 2022 07:32:53 -0700 From: Kees Cook To: Thorsten Leemhuis Cc: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] Rewrite the top-level index.rst Message-ID: <202209140718.991618E@keescook> References: <20220901231632.518583-1-corbet@lwn.net> <938a9905-217c-f02a-b5c2-35c1e5d7822b@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <938a9905-217c-f02a-b5c2-35c1e5d7822b@leemhuis.info> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Sat, Sep 03, 2022 at 12:03:17PM +0200, Thorsten Leemhuis wrote: > On 02.09.22 01:16, Jonathan Corbet wrote: > > The top-level index.rst file is the entry point for the kernel's > > documentation, especially for readers of the HTML output. It is currently > > a mess containing everything we thought to throw in there. Firefox says it > > would require 26 pages of paper to print it. That is not a user-friendly > > introduction. > < > > This series aims to improve our documentation entry point with a focus on > > rewriting index.rst. The result is, IMO, simpler and more approachable. > > For anybody who wants to see the rendered results without building the > > docs, have a look at: > > > > https://static.lwn.net/kerneldoc/ > > [...] I like it -- FWIW, I am able to find stuff much more easily with this. I am traditionally looking most for internal API details, how to test exposed userspace interfaces, and process docs (so I can send reference links to contributors when I'm doing reviews). These map to "how do I do it?", "how do I test it?", and "where can I aim people for common process details?" (So I'd expect to see https://static.lwn.net/kerneldoc/dev-tools/testing-overview.html linked under "Development tools and processes") > Great initiative. But looking at the rendered result made me wonder: > what overall structure for the docs are you aiming for in the end? I'm > sure you have a picture in your head, but I failed to grasp it, as for > me a few things looked a little odd: > > * we do all of this for the users, so shouldn't the section aimed at > users be at the top? And list more things they will look for? I'd agree with Jon: I expect the primary consumer to be new and existing contributors. (Where "new" may just mean "new to this area of the code" too.) Under "Other documentation" on the front page that can move: "Atomic Types", "Atomic bitops" can be moved to Core API docs under "Data structures". I think "Memory Barriers" can go to "Concurrency primitives". -Kees -- Kees Cook