Skip to content

Nodocs and remove warning - #70

Merged
nevans merged 6 commits into
masterfrom
nodocs-and-remove-warning
Nov 23, 2022
Merged

Nodocs and remove warning#70
nevans merged 6 commits into
masterfrom
nodocs-and-remove-warning

Conversation

@nevans

@nevansnevans commented Nov 21, 2022

Copy link
Copy Markdown
Collaborator

I propose that:

  • We should deprecate client_thread. This PR only marks it with :nodoc:.

  • We should ark RESPONSE_ERRORS with :nodoc:. We don't need to break it if people are using it, but it's an internal implementation detail, in my opinion.

  • Don't need to document the openssl extensions must be installed scenario. We can still try to support that use-case, but "openssl" has been a default gem for a long time.

    Although some installations may still disable it, this is very rare and not important enough to document here any more. Looking at net-http and net-smtp, neither of them still document the scenario where "openssl" is missing. Although it carefully avoids an implicit dependency, "net-http" doesn't try to catch any LoadError when an SSL connection is explicitly used.

@nevans
nevans requested a review from shugoNovember 21, 2022 15:16
@nevansnevans added the documentation Improvements or additions to documentation label Nov 21, 2022
@nevans
nevansforce-pushed the nodocs-and-remove-warning branch from d7bf065 to dd130b4CompareNovember 22, 2022 14:49
Switch to the official RFC citation format, as reported at each RFCs
txt citation URL, e.g: https://www.rfc-editor.org/refs/ref9051.txt.
Removed "EXT-" from any citations that were still using it, because that
is how modern IMAP RFCs cite their references.
Add links to relevant specifications for response data structs, without
resorting to the full citation syntax.
----
This is closer to what the format had already been before I switched it
up the last time (9cd562a). I believe the earlier format was simply
copy/pasted from the references section of whichever RFC was being used
at the time (e.g. 2060 or 3501). But the RFC citation format has
changed since then, too.
I'd previously changed it to be more "readable". But since then I've
added links throughout the documentation of methods and data types, only
occasionally needing a list of "see also" links. That approach works
and satisfies my readability concerns. So our references list should
just be a standard list of citations and it would be better to use the
official citation format.
To consider: should we move the references list to a REFERENCES.md file?
@nevans
nevansforce-pushed the nodocs-and-remove-warning branch from dd130b4 to 153adfaCompareNovember 22, 2022 14:55
@nevans

Copy link
Copy Markdown
CollaboratorAuthor

@shugo: the reference to nevans/rdoc has been removed from this PR.

@shugoshugo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks fine!

"openssl" has been a default gem for a long time. Although some
installations may still disable it, this is very rare and not important
enough to document here any more.
Looking at "net-http" and "net-smtp", neither of them still document the
scenario where "openssl" is missing. Although it carefully avoids an
implicit dependency, "net-http" doesn't try to catch any LoadError when
an SSL connection is explicitly used.
RESPONSE_ERRORS is used internally and should probably be private_const.
client_thread should be removed (or deprecated).
@nevans
nevansforce-pushed the nodocs-and-remove-warning branch from 153adfa to 23c2a4fCompareNovember 23, 2022 13:29
@nevans
nevans merged commit 18581ad into masterNov 23, 2022
@nevans
nevans deleted the nodocs-and-remove-warning branch November 23, 2022 13:32
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@nevans@shugo