-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Update README and CONTRIBUTING guides #2630
Update README and CONTRIBUTING guides #2630
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yay, thanks for improving these docs, that's awesome!
I left a few nitpicks and a small suggestion!
Co-authored-by: Thiago Araujo <[email protected]>
Co-authored-by: Thiago Araujo <[email protected]>
Co-authored-by: Thiago Araujo <[email protected]>
Co-authored-by: Thiago Araujo <[email protected]>
Co-authored-by: Thiago Araujo <[email protected]>
Co-authored-by: Thiago Araujo <[email protected]>
Co-authored-by: Thiago Araujo <[email protected]>
Co-authored-by: Thiago Araujo <[email protected]>
Co-authored-by: Thiago Araujo <[email protected]>
Co-authored-by: Thiago Araujo <[email protected]>
CONTRIBUTING.md
Outdated
|
||
## YAML files | ||
|
||
Please use dash syntax for YAML arrays: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be good to include the reason for the preference:
This allows for eaiser code reviews by making it eaiser to see what items were added or removed from the lists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that!
README.md
Outdated
See [Issue #2534](https://github.com/faker-ruby/faker/issues/2534) for more details. | ||
|
||
*Note*: if you get a `uninitialized constant Faker::[some_class]` error, your version of | ||
the gem is behind the one documented here. To make sure that your gem is the one | ||
documented here, change the line in your Gemfile to: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can also mention the @faker.version tag in the docs here to help users identify generators that were added with a particular version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 👍
Our README, CONTRIBUTING, and MAINTAINING guides were needing a bit of love and attention ❤️ There were some outdated things there.
I added more examples to show the amazing generators we have :)
To make Faker more beginner-friendly, I followed the documentation from
shoulda-matchers
. It helps new contributors to setup the library, manage their branches, and open PRs.I also added a new file for maintainers only. This is a Work in Progress.
What do you think? I'd love to hear your feedback!