-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Update Documentation Style Guide and .editorconfig #37679
Comments
/triage accepted |
/priority backlog |
/assign |
Thanks for making this issue! |
@Kart121 please reach out if you have any questions about this issue :) @nate-double-u I think this is a great idea! Do we have any built in mechanisms we can use to make sure we continue to keep the .editconfig file updated when the style guide is updated? |
@a-mccarthy yes! will do |
@a-mccarthy is telling how to use .editorconfig necessary? cant we just add show how the config should look like and can direct to the editorconfig site for more information |
@Karthik-PM Its likely not sustainable to keep directions of how to use the .editorconfig file for all the available editors. Many editors support editorconfig files be default if they exist in the folder. I think its enough to mention that this file is supported by default for many text editors and link to the editorconfig page for users to check if their editor is supported: https://editorconfig.org/#pre-installed |
I don't think there is any automated method -- we just need to review them every so often to make sure they haven't drifted apart. |
Hey @nate-double-u , given that we have documented the details around .editorconfig in our style guide, do you think there's anything else that's required to close this issue off? I see that there is a point #2 that states :
Are there any ideas around how to do this? Or will this be a manual endeavour? |
Hi @divya-mohan0209, this would be a manual thing -- i don't think there is any automation that would help. This issue just highlights the need to check that we are making the correct suggestions in the .editorconfig file as it relates to the Style guide, and make updates if we aren't. |
This issue has not been updated in over 1 year, and should be re-triaged. You can:
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/ /remove-triage accepted |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
This is a Feature Request
Following Geoffrey Cline's (@geoffcline) talk in last week's Kubernetes Contributor summit, "Linting English? Authoring docs in IDEs," we should update the Documentation Style Guide to mention the
.editorconfig
file and explain what it does. We should also ensure that the Style Guide and.editorconfig
file match where the.editorconfig
file overlaps the Style Guide.What would you like to be added
Add a section to the Documentation Style Guide (https://kubernetes.io/docs/contribute/style/style-guide/) explaining the
.editorconfig
file and how to use it.Ensure that the
.editorconfig
file and Documentation Style Guide match (where there is.editorconfig
functionality to match).Why is this needed
Where possible, we should make it easy to maintain consistent formatting and style,
.editorconfig
can help with this if it is well-understood and properly maintained.Comments
EditorConfig website.
The text was updated successfully, but these errors were encountered: