Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6121243rwl; Wed, 22 Mar 2023 06:51:37 -0700 (PDT) X-Google-Smtp-Source: AK7set98A5ODbG2nXWCMVwg66Vgism8guIreeQjLgVM/12tATRhQJtepD1oVtApdjFlVZmJrgRDK X-Received: by 2002:a62:3891:0:b0:626:26f:5e4b with SMTP id f139-20020a623891000000b00626026f5e4bmr2613137pfa.1.1679493097437; Wed, 22 Mar 2023 06:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679493097; cv=none; d=google.com; s=arc-20160816; b=inVSwB8eolT8wC9L5874HdW58t18VtyiDtcMtJaaTgrkVmUBOga372WzOpu1WGa79T Meb3bxllX7GxXBWpvzHqX0aiDx9ZSBaNhJfXiRUn6sIFXNXxxCfts+azCEr4ZCG2XOGL dlTmpBJch6ECK0rFmYYonwx8xSkpu1cXi3UqoFGQCYidff4nEWokcgMjH33K9FmXZDiz x3sHeew6fsP1bM2IPDZrrt+bvp2WYoWKBchsfc7ETe+E6FjP29+WsyOHv0D8Sqsg2X+C kIbkCXq/Uwexyrmf70AP48g74zqd4mVChZJDOtQsz6PTN3xZ12Gl+dsgeQsl3o+nTpB/ H7og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id; bh=DrjvOJ/oSY47RP1pi+mLUTZS6XbqSsNrOY+V4m2bJ3A=; b=eDDTsV1kDOsbYlqWQcfR9F8wjLjwx88U9bT26zTmoV8AQ6hdrf0m054ZiN7QWgBLY7 xzgDT7m7Kt5njUce7Q3zaXo6k1FtUGhN5reT8e1sI1Uaw/k4ZFSx2qdfbztHr2ecb/wy mhVtE2HEgGYuRXIG0rd+Wz9puPkeazFtXa7VU9XbfnNv2QiBeIH9wF2v4sd6FwOMiTS1 qH4jo6SZoA1jyyUG9jIXcE3l0uVU6Acmk9nlKOeP/07ds4IMrmDq5qG8cBGtMGNLQtNE 0OLAdwj0uaV3sRz47mxUDHyDNJ9a6VEX1CG4JmwJiEk0e9jnjypsNBlt9UsM1VkaWncX accg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a056a00191100b00628a7a441desi2197665pfi.352.2023.03.22.06.51.25; Wed, 22 Mar 2023 06:51:37 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230391AbjCVNsH (ORCPT + 99 others); Wed, 22 Mar 2023 09:48:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230500AbjCVNr5 (ORCPT ); Wed, 22 Mar 2023 09:47:57 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1AA264223; Wed, 22 Mar 2023 06:47:34 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1peyoM-0000eD-2s; Wed, 22 Mar 2023 14:47:30 +0100 Message-ID: <165bd284-580d-df03-ab04-f5214b1e6be4@leemhuis.info> Date: Wed, 22 Mar 2023 14:47:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-US, de-DE To: Jonathan Corbet Cc: Randy Dunlap , Lukas Bulwahn , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev References: <1a788a8e7ba8a2063df08668f565efa832016032.1678021408.git.linux@leemhuis.info> <87a60frxk0.fsf@meer.lwn.net> <87edpomtzn.fsf@meer.lwn.net> From: Thorsten Leemhuis Subject: Re: [PATCH v3] docs: describe how to quickly build a trimmed kernel In-Reply-To: <87edpomtzn.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1679492855;0d768313; X-HE-SMSGID: 1peyoM-0000eD-2s X-Spam-Status: No, score=-0.0 required=5.0 tests=NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 16.03.23 19:27, Jonathan Corbet wrote: > Thorsten Leemhuis writes: > >> Documentation/doc-guide/contributing.rst says that "books" are meant to >> "group documentation for specific readers"; creating a new book for >> tutorials would work against that, as readers (users and administrators >> in this case) then would have to consult two books. > > The idea behind that guideline is that readers should be able to know > where to look and to not have to dig through a lot of material that was > not intended for them. Not that, for any given reader, there should be > exactly one book that has everything they might want. But having things for one kind of reader together within one book also has benefits. And I don't see a lot more documents of this kind coming down the pipe, so it might become a really thin book if we create a new one. And I still don't understand once aspect the bigger picture here. Would that new book also contain tutorials for kernel developers and application developers? Or do those readers get a separate book as well? I guess they should, as having a clear kind of reader in mind when writing something is just as important as the question "am I writing a tutorial or a reference documentation". > One could also argue, of course, that readers seeking tutorials are a > different group than those seeking reference material. > >> And isn't for example Documentation/process/submitting-patches.rst also >> more of a tutorial than reference material (which we also have in the >> form of Documentation/process/development-process.rst)? > > It's a pretty clear example of what happens when you try to combine both > types of documentation - you get something that isn't ideal for either > type of reader. Yup. > It tries to take people through the process, but it is > also the only reference document we have on how patches should be > submitted. Well, there is also Documentation/process/5.Posting.rst (but *irrc* some information is only in one of the two documents, some only in the other). But whatever, that duplication in the discrepancy between them is a different topic. >> Does that mean >> it should be moved? Into the same book or a separate book, as it has a >> different target audience? I fear that might quickly get confusing for >> readers without any real benefits > > No, I wouldn't move it. We could, someday, consider splitting it into > two more focused documents, one of which could (say) go under tutorials/. > >> Or did I understand the idea of a new book wrong and you meant something >> else? Like creating Documentation/admin-guide/tutorials/ and putting the >> text there? That might work and would help future authors to get the >> right mental model when writing new texts. But I'm not sure that's worth it. > > I wasn't thinking of doing it that way, but we could certainly consider > it. It doesn't seem like we would have vast numbers of these, though, > and they would mostly cover relatively elementary topics, so a single, > top-level directory might be better if we decide to take this path. I didn't reply earlier as I had hoped others would join in and share their opinion. Sadly that didn't happen. :-( I currently can't really see the need for another book/top-level directory and to be honest it's by far my least favorite solution among the options on the table. I'm taken back and forth between the other two options (e.g. put the text in Documentation/admin-guide/ or Documentation/admin-guide/tutorials/). Maybe I prefer the latter a little bit more. So how to move forward now? Ciao, Thorsten