Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodocs and remove warning #70

Merged
merged 6 commits into from
Nov 23, 2022
Merged

Nodocs and remove warning #70

merged 6 commits into from
Nov 23, 2022

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Nov 21, 2022

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 shugo November 21, 2022 15:16
@nevans nevans added the documentation Improvements or additions to documentation label Nov 21, 2022
@nevans nevans force-pushed the nodocs-and-remove-warning branch from d7bf065 to dd130b4 Compare November 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 nevans force-pushed the nodocs-and-remove-warning branch from dd130b4 to 153adfa Compare November 22, 2022 14:55
@nevans
Copy link
Collaborator Author

nevans commented Nov 22, 2022

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

Copy link
Member

@shugo shugo left a comment

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 nevans force-pushed the nodocs-and-remove-warning branch from 153adfa to 23c2a4f Compare November 23, 2022 13:29
@nevans nevans merged commit 18581ad into master Nov 23, 2022
@nevans nevans deleted the nodocs-and-remove-warning branch November 23, 2022 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

Successfully merging this pull request may close these issues.

2 participants