-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
We should document the existance of new_resource
#1605
Comments
There are a few hooks in I think we have two problems regarding documentation of our APIs:
An idea would be:
I think that would ease the three problems I list above. What do you think? |
Yeah, I agree with that. I've generally been a fan of YARD but I don't have very strong opinions on it. |
It's been very long since I used any of these tools, so I don't know the difference. Whichever is good for me! |
* Ignores the `doc/` directory so we don't commit the generated docs, * Includes the existing docs as files, plus the CHANGELOG, CoC, and LICENSE. Fixes: #1605.
FYI a description of how the Rails documentation is generated: https://discuss.rubyonrails.org/t/api-rubyonrails-org-sidebar-rendering/74644/5 |
I'm now realising I said "whichever is good for me", and I meant "whichever is good for you works for me", or something like that 😅 |
* Ignores the `doc/` directory so we don't commit the generated docs, * Includes the existing docs as files, plus the CHANGELOG, CoC, and LICENSE. Fixes: #1605.
* Ignores the `doc/` directory so we don't commit the generated docs, * Includes the existing docs as files, plus the CHANGELOG, CoC, and LICENSE. Fixes: #1605
In #1097, we refer to the
new_resource
method which is useful when building out new records in a controller. But it isn't referenced anywhere.We might like to answer:
It'd be best if we added it to a "Customising Administrate" or "Internals" section, or similar.
The text was updated successfully, but these errors were encountered: