KEMBAR78
[DOC] Refresh standard libraries page by st0012 · Pull Request #12404 · ruby/ruby · GitHub
Skip to content

Conversation

@st0012
Copy link
Member

@st0012 st0012 commented Dec 19, 2024

I think the standard libraries page could use a little love so I:

  • Migrated its markup to markdown
  • Improved the libraries listing and linked to the source code
  • Fixed some grammar and improved the phrasing

Result:

Screen.Recording.2024-12-20.at.11.19.16.mov

The descriptions and some libraries' placements may use some more detailed reviews, but I plan to do it in separate PRs.

@hsbt hsbt added the Documentation Improvements to documentation. label Dec 20, 2024
@st0012 st0012 force-pushed the refresh-standard-libraries-page branch from 316e942 to 4645a6a Compare December 20, 2024 01:19
@st0012 st0012 requested a review from nobu December 20, 2024 01:20
Copy link
Contributor

@jeremyevans jeremyevans left a comment

Choose a reason for hiding this comment

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

I think we should continue linking default gems to the main class of the library (as currently done on https://docs.ruby-lang.org/en/master/standard_library_rdoc.html), not using website links to GitHub repositories. It's way more friendly for users. Using web links for bundled gems is fine, as we aren't generating documentation for those, and the web link is better than the current lack of link.

@st0012 st0012 force-pushed the refresh-standard-libraries-page branch from 3f6bbec to 4733fcb Compare December 20, 2024 11:16
@st0012 st0012 requested a review from jeremyevans December 20, 2024 11:16
@st0012
Copy link
Member Author

st0012 commented Dec 20, 2024

I think we should continue linking default gems to the main class of the library

That's a good call. I've restored all the autolinks but IMO it's still helpful to list their GitHub links too. Otherwise it's not easy to find that information from the generated docs either.

Copy link
Contributor

@jeremyevans jeremyevans left a comment

Choose a reason for hiding this comment

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

Looks good. Only issue I can see is that we should be consistent with not including . at the end of some of the bullet points.

Co-authored-by: Jeremy Evans <code@jeremyevans.net>
@jeremyevans jeremyevans merged commit 5d1fde0 into ruby:master Dec 20, 2024
19 checks passed
@st0012 st0012 deleted the refresh-standard-libraries-page branch August 28, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements to documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants