Re: documentation structure
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Andrew Dunstan <andrew@dunslane.net>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-03-25T16:01:28Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
docs: Consistently use <optional> to indicate optional parameters
- 0d829703363b 18.0 landed
-
docs: Consolidate into new "WAL for Extensions" chapter.
- 09d9800e5282 17.0 landed
-
freespace: Don't return blocks past the end of the main fork.
- 935829743151 17.0 cited
-
docs: Merge separate chapters on built-in index AMs into one.
- fe8eaa54420c 17.0 landed
-
docs: Demote "Monitoring Disk Usage" from chapter to section.
- f470b5c67924 17.0 landed
-
doc: move system views section to its own chapter
- 64d364bb39cb 16.0 cited
On Mon, Mar 25, 2024 at 11:40 AM Peter Eisentraut <peter@eisentraut.org> 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 <book> -> <part> -> <chapter>. We could add <set> 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. -- Robert Haas EDB: http://www.enterprisedb.com