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 1romld-003LgR-N9 for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Mar 2024 16:01:46 +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 1romlc-005QnQ-1y for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Mar 2024 16:01:44 +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 1romlb-005Qm5-ON for pgsql-hackers@lists.postgresql.org; Mon, 25 Mar 2024 16:01:44 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1romlZ-006Qeb-1f for pgsql-hackers@postgresql.org; Mon, 25 Mar 2024 16:01:43 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a45f257b81fso530735166b.0 for ; Mon, 25 Mar 2024 09:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711382500; x=1711987300; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GePGgr5mPH2NYaneKo0hTu52FFTZlhItj82wLvLBdtc=; b=jkt1SGwEYzMjTgDtTRhsuJ9VWsZ9eTE2Jtx3s8LFlCqplYck09ULzgLEinOuFazZhc 8pdk5dCpaXK1dW8xka0OCdSmrZdufmS1bqn4bKlu7ypbkZvtbNlauMtEF4JQkKXr3D/+ cwWkCDhCd99qPVZfrALwVIBAC4tEgOJ1jJb33RkcUGnEsrDqtuCED2eyRwbKVhOn0VCy usl3cOpaWxiLPD/2MbR6kff0/ODk8FRUMSGVSAsevyZ6cBKoMZBrL014LzSG5MyjSCQH 5NPDMHCwZZxM3cEG3HeUMtKf2RusOHu1f225Qq+GyK7NxN574QzNkD01+sxlGc06gPB6 QkCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711382500; x=1711987300; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GePGgr5mPH2NYaneKo0hTu52FFTZlhItj82wLvLBdtc=; b=jgoo+x+hnyIQR3QpEnyXFvPAUnsNe+RsG85+tDe9PfXaW8+0KPKWGO8KZiUNsJwb3G nLcls20DocQYpNJIyWJOIA2rQnQEiknXIDF+L0ZN6OP/0JhSFC2EMZrT02myNSUa6Fop b+FofDJaLgSpH1uP3+EOjszY7Tq7JvRrhCPJ1xFun80M1jwBfHNQVtNLENnPeaCevVOg DiCjewmZ+MDSrGs29T11WbUvvT+vAcnkUKqXoP11e8IoKQ6Kf0AyrRT8ZpXSMXCZ6kjJ G/qplG0CK+v5gG2ouCv2VGfP0oMHkQNEbfXVs5fOU0SrQhbBuWC106hP5MK1EhQJJhZ2 LQOg== X-Forwarded-Encrypted: i=1; AJvYcCXISkqCHzhVKWwoo/qUEx/et9WVZg4znf8glKCtLeZ3TGDRR2jwwHbDIOxqQIVakI9zHkfdeFnUXdBKKif5JUjzLjCAY1YSBSXxhH2h X-Gm-Message-State: AOJu0YyA4twudMpGj4er7Zx7/tySlXiqU8DsY92K9wgHZnjjHO/gO4Bj 7E9EUye/hWui+ayms/L3/kHiJs9vAxfHZsAK4YeABCvAT9f0kuLC9uSUv9Ac19mYrU6wepbrZek 38AIuUK9l6PPTkC4yR5k7DO3/BBs= X-Google-Smtp-Source: AGHT+IHaCQfT9kufVUC511Ai+jZXhIz2xu/+EQJKZSSWkvn2JToLstbRD6vaLp5ONaKHj52WQASN45ntN2E2qt3X43o= X-Received: by 2002:a17:906:af06:b0:a44:b9e0:8592 with SMTP id lx6-20020a170906af0600b00a44b9e08592mr5670874ejb.8.1711382500147; Mon, 25 Mar 2024 09:01:40 -0700 (PDT) MIME-Version: 1.0 References: <33e82e2a-3954-4c1e-8114-ffbd8dfb5293@eisentraut.org> <682e11bd-07b9-4d8b-8bef-4990a13e0d22@eisentraut.org> In-Reply-To: <682e11bd-07b9-4d8b-8bef-4990a13e0d22@eisentraut.org> From: Robert Haas Date: Mon, 25 Mar 2024 12:01:28 -0400 Message-ID: Subject: Re: documentation structure To: Peter Eisentraut Cc: Andrew Dunstan , "pgsql-hackers@postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Mar 25, 2024 at 11:40=E2=80=AFAM Peter Eisentraut wrote: > I think a possible problem we need to consider with these proposals to > combine chapters is that they could make the chapters themselves too > deep and harder to navigate. For example, if we combined the > installation from source and binaries chapters, the structure of the new > chapter would presumably be I agree with this in theory, but in practice I think the patches that I posted don't have this issue to a degree that is problematic, and I posted some specific proposals on adjustments that we could make to ameliorate the problem if other people feel differently. > I think maybe more could also be done at the top-level structure, too. > Right now, we have -> -> . We could add on > top of that. > > We could also play with CSS or JavaScript to make the top-level table of > contents more navigable, with collapsing subsections or whatever. > > We could also render additional tables of contents or indexes, so there > is more than one way to navigate into the content from the top. > > We could also build better search. These are all reasonable ideas. I think some better CSS and JavaScript could definitely help, and I also wondered whether the entrypoint to the documentation has to be the index page, or whether it could maybe be a page we've crafted specifically for that purpose, that might include some text as well as a bunch of links. But that having been said, I don't believe that any of those ideas (or anything else we do) will obviate the need for some curation of the toplevel index. If you're going to add another level, as you propose in the first point, you still need to make decisions about which things properly go at which levels. If you're going to allow for collapsing subsections, you still want the overall tree in which subsections are be expanded and collapsed to make logical sense. If you have multiple ways to navigate to the content, one of them will probably be still the index, and it should be good. And good search is good, but it shouldn't be the only convenient way to find the content. --=20 Robert Haas EDB: http://www.enterprisedb.com