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

Ensure that guides have consistent formatting #618

Merged
merged 6 commits into from
Jul 10, 2020

Conversation

WilHall
Copy link
Contributor

@WilHall WilHall commented Jul 4, 2020

Fixes #617.

This change ensures that all the guides have consistent Markdown
formatting. It does not make any changes to the content.

Formatting changes include:

  • Use GitHub style markdown
  • Make heading levels consistent and incremental
  • Make external links extracted instead of inline
  • Normalized line length to 80 columns

Additionally, I came across and fixed some editorial issues while
reviewing all the guides:

  • Fixed/removed broken links
  • Fixed capitalization of technologies
  • Fixed spelling errors
  • Improved the link text for some external links
  • Replaced references to "Slack" with "Basecamp"

Fixes #617.

This change ensures that all the guides have consistent Markdown
formatting. It does not make any changes to the content.

Formatting changes include:

 - Use GitHub style markdown
 - Make heading levels consistent and incremental
 - Make external links extracted instead of inline

Additionally, I came across and fixed some editorial issues while
reviewing all the guides:

 - Fixed/removed broken links
 - Fixed capitalization of technologies
 - Fixed spelling errors
 - Improved the link text for some external links
 - Replaced references to "Slack" with "Basecamp"
@jferris
Copy link
Contributor

jferris commented Jul 6, 2020

Thanks for putting this together - consistent formatting certainly makes sense for a document about consistent formatting.

It looks like some of the lines were reformatted to use different line lengths. We've traditionally stuck to 80 character limits for lines, and changing the length here makes it harder to tell what actually changed in some places.

Copy link
Contributor

@ericwbailey ericwbailey left a comment

Choose a reason for hiding this comment

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

A couple of small pieces of feedback, but overall I think this is in good shape. Thank you for doing it!

* Merge once you feel confident in the code and its impact on the project.
* Final editorial control rests with the pull request author.
- Be grateful for the reviewer's suggestions. ("Good call. I'll make that change.")
- A common axiom is "Don't take it personally. The review is of the code, not you." We used to include this, but now
Copy link
Contributor

Choose a reason for hiding this comment

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

Potentially out of scope, but I don't like this point. Maybe thread in a link to Edward's blog post to communicate that the reviewer also has a responsibility to communicate well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I greatly simplified this and linked to that article instead of the external resource. Thoughts?


[Prey]: https://www.preyproject.com/
[prey]: https://www.preyproject.com/
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still use Prey?

Copy link
Contributor

Choose a reason for hiding this comment

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

TBH, I haven't been.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I do but I don't like it

@WilHall WilHall requested a review from ericwbailey July 6, 2020 19:12
@WilHall
Copy link
Contributor Author

WilHall commented Jul 6, 2020

@jferris

It looks like some of the lines were reformatted to use different line lengths. We've traditionally stuck to 80 character limits for lines

I've updated this, along with my autoformatter 🙂

@WilHall WilHall merged commit add567c into master Jul 10, 2020
@WilHall WilHall deleted the feature/consistent-formatting branch July 10, 2020 12:43
ericwbailey added a commit that referenced this pull request Oct 24, 2020
* main:
  Expand the stack to include client-side frameworks
  Add HTML validation best practice (#588)
  Wrap in code to be consistent with line above’s factories.rb (#625)
  Remove the deprecated jscs configuration (#622)
  Restore Rubocop & Hound configuration (#623)
  Prefer MVVM on Android
  Update our Android best practices
  Added def tags to Data Glossary (#620)
  Fix typo in function components URL (#624)
  Fix broken link
  Ensure that guides have consistent formatting (#618)
  Combine style, best practice, and protocol guides (#615)
  Remove private/protected style guideline
  Rename Testing guide to Testing with RSpec (#614)
  Add back .rubocop.yml

# Conflicts:
#	README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Guides have inconsistent formatting
4 participants