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] Change to guidance on lists in What's Here section #5618

Merged
merged 2 commits into from Mar 7, 2022
Merged

[DOC] Change to guidance on lists in What's Here section #5618

merged 2 commits into from Mar 7, 2022

Conversation

BurdetteLamar
Copy link
Member

@BurdetteLamar BurdetteLamar commented Mar 2, 2022

Currently, the guide says a "What's Here" section should have a labeled list for the methods. Such a list can render very differently in different browsers, and are often erratic in their indentation of continuation lines.

The proposed guidance is to use a bullet list. If approved, I will modify the existing sections piecemeal.

@BurdetteLamar BurdetteLamar added the Documentation Improvements to documentation. label Mar 2, 2022
@BurdetteLamar BurdetteLamar changed the title [DOC] Chang to guidance on lists in What's Here section [DOC] Change to guidance on lists in What's Here section Mar 2, 2022
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've always disliked RDoc's use of dl/dt/dd for labeled lists. Even if it is semantically better, it generally doesn't look good. A table-based approach, while not as good semantically, generally looks better. However, unless we can change RDoc, switching to a simple list seems best.

In terms of the text, after two small typo fixes, this can be committed after a couple days unless someone objects. I want to allow more time here because this is changing the guide for writing documentation, so it's a change in our process and we should allow more time for comment/review.

the method and linked to it; if not, manually insert a
{link}[https://docs.ruby-lang.org/en/master/RDoc/Markup.html#class-RDoc::Markup-label-Links].

- If there are numerout entries, consider gouping them into subsections with headers.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/numerout/numerous/
s/gouping/grouping/

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

@BurdetteLamar BurdetteLamar merged commit 1dd2d2c into ruby:master Mar 7, 2022
@BurdetteLamar BurdetteLamar deleted the documentation_guide branch March 7, 2022 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements to documentation.
2 participants