-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Discuss Documentation Policy #12940
Comments
Is there a reason we need a label? I'd prefer if we just require it before pushing code. |
Good question. I think it depends, as you alluded to, on how flexible we want to be with the requirement. If documentation work can be deferred, then a label is needed to ensure the deferred work is tracked. I'm interested to hear everyone's preferences here. I also like the idea of treating them similarly to unit tests, which I think is closer to what you are proposing. Consider this other policy that @marcusdacoregio and I came up with:
This one is similar to our unit test policy, which is that all new features must include tests and all bug fixes must have a test that verifies the now-corrected behavior. Note that with any policy, sometimes documentation is not needed since some fixes are about bringing the code in alignment with existing docs. |
I think that the Although this does not solves it 100%, it is more transparent with external contributors. |
Agreed, though some of this may be about education. We don't have a That said, what I'm picturing is actually something different from that. IMO, a maintainer would be the one to push a documentation polish commit to most contributor PRs before merging. I think requiring docs from external contributors would be too discouraging, especially for folks who don't feel strong enough in their English to do so. Of course, if a PR has a |
We discussed this a bit more in our retro and here are some additional thoughts that came out of that:
In unideal scenarios, documentation is still needed. The rest of this post is about what to do in this case.
Speaking for myself, I prefer to commit the documentation to the original issue (not create a separate issue). I think this is easier than creating a separate issue, there is less clutter, it makes it easier to read our release notes, and it's more in the spirit of the ideal. Adding a label to mark those issues makes it easy to search for them and ensure that all documentation is added before the next release. |
Given the above, here's the policy I suggest:
|
We should consider how we want to ensure docs are up to date going forward.
One way is to add a
status: needs-documentation
label. It would be added when the issue is triaged. It would be removed once documentation is added or when a follow-up documentation ticket is created. In the latter case, the label is moved to the follow-up ticket. We should also document how we use this label. :)Discussion around the proposal as well as alternative ideas are welcome below.
The text was updated successfully, but these errors were encountered: