-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
DOC: line length of rst files should be kept lower than 80 characters #12871
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
Comments
It seems to be more of a guideline though, we don't strictly follow it even for new docs. Although, I'm in favor of following it a bit more than what we do now. |
I also wouldn't mind that for cython code. |
Ok. I thought it was more like a requirement as I see comments about it in reviews. |
I guess that's because some of us treat it as a "requirement" :P |
If we add these requirements, we'll need to add some checks, I guess it's not worthwhile to waste our time here. |
Adding it to the contributing guide as a guideline and not a requirement doesn't require checks really, and would encourage people to keep the lines short and not be surprised when we ask them to shorten the lines. I don't see how that would hurt. |
Is it possible to keep line length < 80 in tables? e.g., https://github.com/scikit-learn/scikit-learn/blob/master/doc/modules/model_evaluation.rst#common-cases-predefined-values |
It's not possible either for long links, but it is still useful to write this as a guideline somewhere. Having a <80 line length is always useful for those of us with small screens, whether you're writing Python code or not. |
+1 from my side. Just a bit worried whether there're too many guidelines now :) |
Thanks for your inputs :). I will just add a sentence in the Guidelines for writing documentation, saying that it is better if lines can be <80 characters when possible. |
I don't think this is written in the doc. Perhaps this should be added to the contributing section.
The text was updated successfully, but these errors were encountered: