Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork852
[docs] Contributing file#575
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
olleolleolle merged 1 commit intogithub-changelog-generator:masterfromolleolleolle:fix/document-man-page-generationOct 14, 2017
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
60 changes: 60 additions & 0 deletionsCONTRIBUTING.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| # How to contribute | ||
| Bug reports and pull requests from users is what keeps this project working. | ||
| ## Basics | ||
| 1. Create an issue and describe your idea | ||
| 2. [Fork it](https://github.com/skywinder/github-changelog-generator/fork) | ||
| 3. Create your feature branch (`git checkout -b my-new-feature`) | ||
| 4. Commit your changes (`git commit -am 'Add some feature'`) | ||
| 5. Publish the branch (`git push origin my-new-feature`) | ||
| 6. Create a new Pull Request | ||
| ## Checking your work | ||
| You can test your workflow with changelog generator with | ||
| [the skywinder/changelog_test repo]. | ||
| You can run the test suite. | ||
| You can run [RuboCop] to check code style. | ||
| The default Rake task, runnable using `rake`, calls `rubocop`, then `spec`. | ||
| [the skywinder/changelog_test repo]: https://github.com/skywinder/changelog_test/ | ||
| [RuboCop]: http://rubocop.readthedocs.io/en/latest/ | ||
| ## Write documentation | ||
| This project has documentation in a few places: | ||
| ### Introduction and usage | ||
| A friendly `README.md` written for many audiences. | ||
| ### Examples and advanced usage | ||
| The [wiki]. | ||
| ### API documentation | ||
| API documentation is written as [YARD] docblocks in the Ruby code. | ||
| This is rendered as Web pages on [Rubydoc.info][github-changelog-generator on Rubydoc.info]. | ||
| The completeness of the API documentation is measured on [our page on the Inch CI Web site][github-changelog-generator on Inch CI] | ||
| ### man page | ||
| `man/git-generate-changelog.md` | ||
| The man page is for the `git generate-changelog` Git sub-command, which is a wrapper for `github_changelog_generator`. That file is a Markdown file. | ||
| Use the [ronn] gem to generate `.1` and `.html` artifacts like this: `cd man; ronn git-generate-changelog.md` | ||
| [wiki]: https://github.com/skywinder/github-changelog-generator/wiki | ||
| [YARD]: https://yardoc.org/ | ||
| [github-changelog-generator on Rubydoc.info]: http://www.rubydoc.info/gems/github_changelog_generator | ||
| [ronn]: https://github.com/rtomayko/ronn | ||
| [github-changelog-generator on Inch CI]: https://inch-ci.org/github/skywinder/github-changelog-generator |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.