Re: documentation structure
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-03-25T15:40:52Z
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 22.03.24 15:10, Robert Haas wrote: > Sorry. I didn't mean to dispute the point that the section was added a > few years ago, nor the point that most people just want to read about > the binaries. I am confident that both of those things are true. What > I do want to dispute is that having a four-sentence chapter in the > documentation index that tells people something they can find much > more easily without using the documentation at all is a good plan. 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 <chapter> Installation <sect1> Installation from Binaries <sect1> Installation from Source <sect2> Requirements <sect2> Getting the Source <sect2> Building and Installation with Autoconf and Make <sect2> Building and Installation with Meson etc. This would mean that the entire "Installation from Source" part would be rendered on a single HTML page. The rendering can be adjusted to some degree, but then we also need to make sure any new chunking makes sense in other chapters. (And it might also change a bunch of externally known HTML links.) 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.