-
Notifications
You must be signed in to change notification settings - Fork 13
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
Documentation for devise-passkeys #2
Comments
@tcannonfodder : here are a few formats for module/class documentation that I have seen and it can be used:
module Devise
# All Passkeys sub-modules, models, classes, concerns etc are inherited from here.
module Passkeys
module Devise
# Name: Devise::Passkeys module
# All Passkeys sub-modules, models, classes, concerns etc are inherited from here.
module Passkeys
module Devise
# Name: Devise::Passkeys module
# Summary: All Passkeys sub-modules, models, classes, concerns etc are inherited from here.
# This is the top level Passkeys modules and as such all sub-modules, models, classes, concerns etc
# should be inherited from.
# The folder structure is as follow:
# ... add as much details as we need
module Passkeys My suggestion at this stage is to start with option 1 and move toward a more meaningful and long documentation. Or if you prefer a different format, I'd be happy to work on. |
It fells counterintuitive, but I think starting with YARD-compliant docs (option 3?) would be the best move forward. Reasons being
|
Got it. If I am understanding correctly, the goal is to add meaningful (a few lines long) comment for each modules. |
That is correct! Sorry about the confusion & lack of detailed issue title 🙈 reviewing your changes now! |
We are creating separate pull requests for each section under the Documentation Milestone! ------WORDY BREAK DOWN BELOW, READ AT YOUR DISCRESSION--------- @tcannonfodder and I had a discussion about the best way to approach this issue. Here are the solutions we came up with:
|
Tentative sections:
I wouldn't fret about making the documentation perfectly YARD formatted when you're working on it; we can do that at the end of the PR. The harder part will be actually writing useful documentation 😂😭 |
Added a set of issues in the milestone! https://github.com/ruby-passkeys/devise-passkeys/milestone/1 |
IMO useful documentation is a long term strategy. As more and more users start using the gem and asking questions, we will end up find ways to improve it! Rock solid idea into breaking this up. |
Sounds good; feel free to pick one of the documentation issues that haven’t been claimed yet 💪 RE: useful vs. initial documentation: I think given the size of the gem & the fact there are multiple folks working on this, we can get a useful set of documentation out of the gate. For example, #24 is a great example of a set of docs that are solidly baked, making 0.2 a very useful release when we’re done 😄 |
No description provided.
The text was updated successfully, but these errors were encountered: