-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Added utils.gen_batches in documentation, Solving issue #19681 #19688
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
Added utils.gen_batches in documentation, Solving issue #19681
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @seamusabshere @seanbenhur! All checks are green and the search in the rendered documentation contains gen_batches
. LGTM!
Thanks @cmarmo, I guess you have misspelled my name! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @seanbenhur and @cmarmo !
Another thing that would have been great, if you are still interested @seanbenhur is to cross link If not, we can merge this and open a separate PR. |
Sure @rth, I will work on it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @seanbenhur ... :) (with the right spelling this time).
I have added suggestions to fix the lint errors
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
I just committed the suggested change, but it still fails |
You can click on the 'details' link to check the lint error message. Apparently there is still one, indeed:
|
I apologize, but seeing error messages, it seems I have to change the documentation right!? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I apologize, but seeing error messages, it seems I have to change the documentation right!?
This time is the documentation engine (sphinx) complaining. Blank lines should be kept after the titles. The previous lint error was telling you that some blank spaces were present in a blank line.
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Sorry @seanbenhur I believe I'm having issues with the suggestions.... there are some blank spaces I can't see: do you mind removing them locally? Thanks! |
Yep, I am currently working on that, Thanks for the support
…On Wed, 17 Mar 2021, 15:36 Chiara Marmo, ***@***.***> wrote:
Sorry @seanbenhur <https://github.com/seanbenhur> I believe I'm having
issues with the suggestions.... there are some blank spaces I can't see: do
you mind removing them locally? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19688 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKKLL6LH6W6TM5PTSUUFPKLTEB5IXANCNFSM4ZIAE2WA>
.
|
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Thanks for your patience! :) |
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
If it can be useful, here you can find some resources about how to track CI failures. |
sphinx again... you need to add a blank line before the title as shown here. |
Thank you, its helpful |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @seanbenhur. You have 2 linting failures, otherwise lgtm.
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Hi @seanbenhur I think using the github suggestions is no longer a good idea. The issue here is that you need a blank line at lines 693 and 745 in order to avoid sphinx warnings. It seems that each time you add the blank line your editor adds an automatic indentation that makes lint unhappy. For some reason removing the indentation via suggestions removes the blank line. Do you mind making the modification on your local repository?
Also, do you mind adding dashes under the "See Also" title until the end of the title as in this example? |
I pushed the fix. It's indeed some issue with GH suggestions. |
Thanks for your suggestions and help @cmarmo , I guess the issue was resolved!, From next time I will folliw these best practices! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @seanbenhur and @cmarmo !
Closes #19681
What does this implement/fix? Explain your changes.
Added utils.gen_batches in documentation file
Any other comments?
My first PR, if I had done any mistake, let me know !