-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
DOC: updated reference guide text for consistency in writing style #10823
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
Conversation
General question: are we writing down the style rules anywhere? Otherwise people are likely to forget things like "section headings should be lower case". |
I guess we could add a CI check for some of these things, but that might drive people crazy. |
Yes, @person142, I'm writing down the 'consistency rules' for future maintenance. As for the CI check, it'd sure be useful but, as you point out, might be annoying. Once I've corrected the docs, I'll relay this question to others in my summary. |
@mkg33 so far you've just updated the tutorial and governance/CoC docs, but I thought it'd be good to point out that @brandondavid is working on similar fixed for the |
@rgommers good thinking! Thanks for pointing this out. I've revised 15 more files but decided against pushing them because I still haven't solved the issue with the previous commits. I've gone through the complete CI check report but still haven't managed to pinpoint the issue. I've paid attention to all backticks, inserting a hyperlink properly, etc. Do you have any idea what could have gone wrong? Sorry for bothering you with this but I can't find the problem myself. |
This is one of the problems with Sphinx, it's hopelessly bad at telling you what the problem may be. I'll try to help later today and if I find the problem, share how I went about debugging it. From the CI build log it's indeed not clear. |
@rgommers thanks a lot. I mean, I hate to bother you with it because I caused this mess but I can't proceed with the commits, so it's probably the right time to ask for help :-) I've already wasted a bit of time on analysing the log several times... |
The HTML seems to complete fine:
But the Latex build complains:
So the problem is in
So some ref got messed up in
I would undo this change and see if it fixes things. It already seems to render okay on 1.3.0 at least: https://docs.scipy.org/doc/scipy/reference/tutorial/signal.html#wiener-filter |
Something is off in the CircleCI log for commit 663c2b4 (the last commit). Unfortunately it cuts off the top lines, but downloading the log the first few lines are
Shouldn't that be the SciPy version under build, which would be the current commit? |
@mkg33 I'm not too sure if having style checks in the CI will work too well. I've been using GNU Style & Diction along with (codespell)[https://github.com/codespell-project/codespell] in a githook. It works with a human to check the mistakes but I'm not sure how well it transfers to CI. |
@larsoner thanks for looking into this; I'll make the change you suggested and we'll see how it turns out. @Kai-Striega I suppose we should avoid the style checks, totally agree. So far, I've noticed that most documentation doesn't suffer from poor grammar / explanations. The only issues are very rare typos and sticking to conventions (plus proper punctuation). |
punctuation, minor stylistic issues
punctuation, corrected (line) title length
punctuation, stylistic issues
punctuation, minor stylistic issues
All right, |
Thanks, @rgommers! I was just about to come back to this issue (tomorrow) and now the problem has solved itself :-) |
No worries. I thought it'd be good to get this in, since PRs like these tend to accumulate merge conflicts. |
punctuation, minor stylistic issues
Reference issue
What does this implement/fix?
Additional information