-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Expand route documentation in the README #1923
Conversation
This adds some more documentation, that was partly implicitly covered by the Basic Usage example but partly was only to be got by the method documentation. As this is an essential part of the DSL this it added for the new users conveniance.
Here's an example of a CHANGELOG.md entry: * [#1923](https://github.com/ruby-grape/grape/pull/1923): Expand route documentation in the readme - [@wdspkr](https://github.com/wdspkr). Generated by 🚫 danger |
Don't worry about danger. |
Sorry, misclicked. 😄 |
README.md
Outdated
get 'status' do | ||
end | ||
|
||
# is the same as (!) |
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.
What's !
here?
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 wanted to somehow raise attention that this will not result in a route parameter. But that was probably too subtle so I now extended the example.
Is this better now?
LGTM, merged |
This adds some more documentation, that was partly implicitly covered by the Basic Usage example but partly was only to be got by the method documentation. As this is an essential part of the DSL this it added for the new users convenience.
This adds some more documentation, that was partly implicitly covered
by the Basic Usage example but partly was only to be got by the method
documentation. As this is an essential part of the DSL this it added for
the new users conveniance. At least I was missing the info.
This is my first draft, so please tell me whether I'm missing something, or got something wrong!