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

Fix links inconsistency on Active Storage overview guide [ci-skip] #43111

Merged

Conversation

ceritium
Copy link
Contributor

Summary

Details

Keep RedirectController links consistent

There are two links defined to RedirectController, with backticks and
without them.

This commit removes the link without backticks for the sake of
consistency as discussed here.

Change links from github.com to api.rubyonrails.org

The guide's guidelines do not mention anything against linking to the Github
repo, but it describes how to link to api.rubyonrails.org works.

So I guess that it's better to link "api.rubyonrails.org" when is possible,
for instance: classes, modules, and methods.

There are two links defined to RedirectController, with backticks and
without them.

This commit removes the link without backticks for the sake of
consistency as discussed here: https://github.com/rails/rails/pull/42703/files#r667270569
The guide's guidelines do not mention anything against linking to the Github
repo, but it describes [how to link][] to api.rubyonrails.org works.

So I guess that it's better to link "api.rubyonrails.org" when is possible,
for instance: classes, modules, and methods.

[how to link]: https://guides.rubyonrails.org/ruby_on_rails_guides_guidelines.html#linking-to-the-api
@rails-bot rails-bot bot added the docs label Aug 26, 2021
@ceritium ceritium marked this pull request as ready for review August 26, 2021 11:13
@ceritium ceritium changed the title Active storage overview consistent links Fix links inconsistency on Active Storage overview guide Aug 27, 2021
@ceritium ceritium changed the title Fix links inconsistency on Active Storage overview guide Fix links inconsistency on Active Storage overview guide [ci-skip] Aug 29, 2021
@jonathanhefner jonathanhefner merged commit b4ccee7 into rails:main Aug 31, 2021
@jonathanhefner
Copy link
Member

Thanks, @ceritium! 👍

@ceritium ceritium deleted the active-storage-overview-consistent-links branch August 31, 2021 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants