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

[DOC] Fix broken rdoc-ref links #199

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Dec 15, 2024

Found through ruby/rdoc#1241

There are 2 changes:

  1. Several methods' aliased as description are not linking properly because those alias methods have been marked as :nodoc: obsolete for a long time, which breaks the rdoc-ref links. Unless we want to encourage users to use them again, we don't need to mention them in the documentation.
  2. We should link to OpenSSL::SSL::SSLContext methods using the proper rdoc-ref instead of linking to docs.ruby-lang.org to make sure their linked properly after synced to ruby/ruby.

Those alias methods have been marked as `:nodoc: obsolete` for a long time.
Which means the `rdoc-ref` links to them will be broken.

Unless we want to encourage users to use them again, we don't need to
mention them in the documentation.
Since `net-http` doesn't have its own documentation site and is always
included in the Ruby documentation, we should use the proper `rdoc-ref`
to link to `OpenSSL::SSL::SSLContext` methods, not linking to
`docs.ruby-lang.org`.
@st0012
Copy link
Member Author

st0012 commented Dec 15, 2024

cc @BurdetteLamar

@jeremyevans jeremyevans merged commit 9bcf818 into ruby:master Dec 16, 2024
22 checks passed
@st0012 st0012 deleted the remove-obsolete-alias-links branch December 16, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants