Re: documentation structure
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Matthias van de Meent <boekewurm+postgres@gmail.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-03-18T17:21:35Z
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 18, 2024 at 10:55 AM Matthias van de Meent <boekewurm+postgres@gmail.com> 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. > > Could "SQL Commands" be a top-level construct, with subsections for > SQL/DML, SQL/DDL, SQL/Transaction management, and PG's > extensions/administrative/misc features? I sometimes find myself > trying to mentally organize what SQL commands users can use vs those > accessible to database owners and administrators, which is not > currently organized as such in the SQL Commands section. Yeah, I wondered about that, too. Or for example you could group all CREATE commands together, all ALTER commands together, all DROP commands together, etc. But I can't really see a future in such schemes, because having a single page that links to the reference documentation for every single command we have in alphabetical order is incredibly handy, or at least I have found it so. So my feeling - at least at present - is that it's more fruitful to look into cutting down the amount of clutter that appears in the top-level documentation index, and maybe finding ways to make important sections like the SQL reference more prominent. Given how much documentation we have, it's just not going to be possible to make everything that matters conveniently visible at the top level. I think if people have to click down a level for the SQL reference, that's fine, as long as the link they need to click on is reasonably visible. What annoys me about the present structure is that it isn't. You don't get any visual clue that the "SQL Commands" page with ~100 subpages is more important than "51. Archive Modules" or "33. Regression Tests" or "58. Writing a Procedural Language Handler," but it totally is. -- Robert Haas EDB: http://www.enterprisedb.com