Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmLpA-007NLM-HQ for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Mar 2024 22:51:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rmLp9-006ztz-4I for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Mar 2024 22:51:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmLp8-006ztr-Rc for pgsql-hackers@lists.postgresql.org; Mon, 18 Mar 2024 22:51:19 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmLp6-005GKM-KR for pgsql-hackers@postgresql.org; Mon, 18 Mar 2024 22:51:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 42IMpDVm3708999; Mon, 18 Mar 2024 18:51:13 -0400 From: Tom Lane To: Laurenz Albe cc: Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: documentation structure In-reply-to: <4385545ed373daf0cf08abb6644caf6315a1ca71.camel@cybertec.at> References: <4385545ed373daf0cf08abb6644caf6315a1ca71.camel@cybertec.at> Comments: In-reply-to Laurenz Albe message dated "Mon, 18 Mar 2024 22:40:07 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3708997.1710802273.1@sss.pgh.pa.us> Date: Mon, 18 Mar 2024 18:51:13 -0400 Message-ID: <3708998.1710802273@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Laurenz Albe writes: > On Mon, 2024-03-18 at 10:11 -0400, Robert Haas wrote: >> I don't know what to do about "I. SQL commands". It's obviously >> impractical to promote that to a top-level section, because it's got a >> zillion sub-pages which I don't think we want in the top-level >> documentation index. But having it as one of several unnumbered >> chapters interposed between 51 and 52 doesn't seem great either. > I think that both the GUCs and the SQL reference could be top-level > sections. For the GUCs there is an obvious split in sub-chapters, > and the SQL reference could be a top-level section without any chapters > under it. I'd be in favor of promoting all three of the "Reference" things to the top level, except that as Robert says, it seems likely that that would end in having a hundred individual command reference pages visible in the topmost table of contents. Also, if we manage to suppress that, did we really make it any more prominent? Not sure. Making "SQL commands" top-level with half a dozen subsections would solve the visibility problem, but I'm not real eager to go there, because I foresee endless arguments about which subsection a given command goes in. Robert's point about wanting a single alphabetized list is valid too (although you could imagine that being a list in an introductory section, similar to what we have for system catalogs). This might be a silly suggestion, but: could we just render the "most important" chapter titles in a larger font? regards, tom lane