Lists: | pgsql-docs |
---|
From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
---|---|
To: | Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org> |
Subject: | Consistent reference to RFCs in the documentation |
Date: | 2020-11-05 15:09:48 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-docs |
When referencing RFC's, we have a mix of ulinking to the ietf.org entry and
not. Also, for subsequent mentions of the same RFC on the same page we have
some as <acronym> while others are not. The attached patch adds ulinks for all
RFC's and marks subsequent mentions as acronym to make the docs consistent. It
also spells all as "RFC <number>" with a whitespace as that was the most
commonly used spelling (there is no RFC for how to reference to an RFC so we're
free to choose).
In order to make review easier I haven't fixed linelengths/wrapping, but am
happy to do that in case this is deemed something we want.
cheers ./daniel
Attachment | Content-Type | Size |
---|---|---|
0001-docs-ulink-all-references-to-RFC-s.patch | application/octet-stream | 14.2 KB |
From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Consistent reference to RFCs in the documentation |
Date: | 2020-12-01 12:39:04 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-docs |
On 05/11/2020 17:09, Daniel Gustafsson wrote:
> When referencing RFC's, we have a mix of ulinking to the ietf.org entry and
> not. Also, for subsequent mentions of the same RFC on the same page we have
> some as <acronym> while others are not.
I'm not sure how sensible the <acronym> tag is for these. I mean, yeah,
it's an acronym, but it wouldn't make sense to write it open. It doesn't
seem to affect the formatting in the HTML docs, at least I don't see any
difference in my browser. But let's be consistent.
> The attached patch adds ulinks for all
> RFC's and marks subsequent mentions as acronym to make the docs consistent. It
> also spells all as "RFC <number>" with a whitespace as that was the most
> commonly used spelling (there is no RFC for how to reference to an RFC so we're
> free to choose).
There is RFC 7322, "RFC Style Guide", Section 3.5 Citations
(https://tools.ietf.org/html/rfc7322#section-3.5) That's for the style
used in RFCs themselves. It recommends "RFC <number>" as well.
> In order to make review easier I haven't fixed linelengths/wrapping, but am
> happy to do that in case this is deemed something we want.
I line-wrapped some of them manually. We're not terribly consistent with
the wrapping in the docs.
Pushed, thanks!
- Heikki
From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
---|---|
To: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
Cc: | Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Consistent reference to RFCs in the documentation |
Date: | 2020-12-01 12:55:27 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-docs |
> On 1 Dec 2020, at 13:39, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:
> On 05/11/2020 17:09, Daniel Gustafsson wrote:
>> The attached patch adds ulinks for all
>> RFC's and marks subsequent mentions as acronym to make the docs consistent. It
>> also spells all as "RFC <number>" with a whitespace as that was the most
>> commonly used spelling (there is no RFC for how to reference to an RFC so we're
>> free to choose).
>
> There is RFC 7322, "RFC Style Guide", Section 3.5 Citations (https://tools.ietf.org/html/rfc7322#section-3.5) That's for the style used in RFCs themselves. It recommends "RFC <number>" as well.
Interesting, I've looked for that more than once but failed to find that
section. Thanks for pointing it out.
> Pushed, thanks!
Thanks!
cheers ./daenil
From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Consistent reference to RFCs in the documentation |
Date: | 2020-12-02 19:21:42 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-docs |
On Tue, Dec 1, 2020 at 02:39:04PM +0200, Heikki Linnakangas wrote:
> On 05/11/2020 17:09, Daniel Gustafsson wrote:
> > When referencing RFC's, we have a mix of ulinking to the ietf.org entry and
> > not. Also, for subsequent mentions of the same RFC on the same page we have
> > some as <acronym> while others are not.
>
> I'm not sure how sensible the <acronym> tag is for these. I mean, yeah, it's
> an acronym, but it wouldn't make sense to write it open. It doesn't seem to
> affect the formatting in the HTML docs, at least I don't see any difference
> in my browser. But let's be consistent.
Ideally acronyms would use smallcaps, but I don't think we have that
configured in our style sheets.
--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee