-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
typos/grammar in documentation #251
Conversation
+ fixes for previous f+r goofs
Thanks. There was an issue (#217) and some folks fixed some grammar mistakes during last year's Hacktoberfest but it seems not everything was fixed. The build failed so the tests didn't even run, probably something with a branch name. I will try to fix it locally and you will merge it with devel. |
I already did |
CI/CD run What do you mean by no changes? |
I had some github actions workflows on other repos of mine that run a build script and then git-commit the changes and push as the GHA bot. When I already built it myself in the previous commit, the git commit command failed with "no changes to commit" and exit status 1 which caused the action to say it failed. |
Also, the last few lines of the action log that failed say:
|
Please merge with pr-build-fix, I've fixed build and lint errors, your lines were too long, the max is 90 characters. Also, there was one test that filed because you changed the typecheck message. |
This project doesn't have any GitHub actions that do commits. There are only checks that make sure that the code builds and runs. The problem was that Makefile by default on Ubuntu uses sh that point to dash. And on my system Fedora the sh points to bash. I had this problem before on a different project. |
OK, I merged pr-build-fix into my branch. (Did you mean to do the reverse -- set pr-build-fix as the PR target?) |
I don't understand why there are no my commits after merge. It looks like you merged the master branch (according to commits). |
Whoops, not sure why it didn't fetch all commits. Merged it all now. |
sed is still borking it. |
Ok I solved the issue, the problem was that the branch in PR on GitHub have a slash. The branch name is |
I'm a native English speaker, so I guess I'm qualified to clean up the docstrings.
Largest changes: All occurrences of "Function return ...." were changed to "Returns ...." and likewise.
Also, I noticed that the documentation for the numerical comparison functions (
>
and friends) was at best confusing ("monotonically nondecreasing", wat?), and possibly completely backwards, so I rewrote it to what I think is correct, and added some explainer examples.Feel free to reject any of my changes, especially if I misunderstood what the function does :)