Re: Formatting of warning about using ident

"Jonathan S. Katz" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.documentation
Message-ID <[email protected]>
On 7/22/19 10:09 AM, Tom Lane wrote:
> Peter Eisentraut <[email protected]> writes:
>> In general, I would argue in favor of fewer "note", "warning", etc.
>> Some documentation pages are now just a sequence of "note"s and little
>> proper text.  If the normal text properly explains a topic and its pros
>> and cons, then we don't need all that extra decoration and it makes the
>> text easier to read.
> 
> +1.  With the way these things are rendered in the current HTML output,
> they are so visually distracting that they ought to be reserved for
> absolutely critical info.  I almost feel that we should ban <note>
> entirely, because the rendering is completely disproportional to the
> meaning.

Based on the example of auth-ident.html, removing "note" seems to make
sense. It just seems like it's a part of the regular documentation.

However, perhaps the reason people feel the need to highlight such
things is that they want to ensure the reader catches an important
point, particularly as one is often reading the documentation quickly to
find the piece of info they're looking for (speaking from personal
experience).

That said, looking through some other pages, the "notes" feel like
they're other "asides" to add more detail around a particular point, or
calling out a specific fact. It seems like they could be inlined as part
of the regular documentation.

Something like a "warning" should be visually distracting...it's a
warning that the user could end up in a dangerous situation with their
data, so they should heed it.

> (Or, maybe, somebody could tinker with the stylesheets?)

I think lessening the use of "note" would help. It would require some
rewriting in places it's being used. That way, if we need something
that's truly a "warning" we won't feel as hesitant to add it to the docs.

Thanks,

Jonathan
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE+oS2la8r95ogZD/x8QSccp8cZScFAl011nkACgkQ8QSccp8c
ZSc7Xw//XCcvZt9hiU4lka4IudjBgqmgKrQnwBo3lRNpU+FLj2aE3bXblJFH2q0u
T7NhmYd6493uecCVbxbqjquQxdFoQCbjV0fKTkni4KTQ4Z/xe/Qj0c+OmmEvdbaR
aTn3RosSso48BWQYTlGotnfROAhbTCbkN3EmVbJxsql0XWsNw7YFGY0RWyV6Zis3
1OXAy2hnRtHo97YwawGekMN+v2LtCg/rBt7chhr5TjjFwNmqMLgsod76KkeHwbAK
eUz0pnmx5sLjt6LCcsyetioa0iIeYcielB/YoRR3w/OcKHy/abvq3wP3X38fGaIu
4D0TYWIVt8656nx+QsgUiGvx5Vx4WbJYuPmAPVvPpq8QcHI5BcNY7TypIKAqExCM
1wSyHqGwLvQVb2sQA4X7aSYm3Vc3FdwHuaIBf9wNXm4kFetDb3xz4ZGfuId+VylF
nLksyIBV2QbCWEBEUjk6aT9Ns0INdJQK9BY6U0AVQ6Q5B0tg96Vz0MQt1pLTb1DD
LUZdIZT6qdwmZGskuEp9/QZm9qqRytrh7TKbwJWpGhcjPNTKax7NR7hwGkATT07u
XFA4kG2aajEY1JRv3KrKR0+mSQA/xMn0aGkqsnO8vUtfWMP6RKV5tyblUwaF3Kg+
h2SkfuR62LJH1XDhhwiWkrgaoANC5L8Aq7lpcY2t6ngCrZFv1WY=
=t9zA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.