-
Notifications
You must be signed in to change notification settings - Fork 659
Fix Sphinx errors/warnings & Misc. cleanups #347
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
|
I honestly can't make much sense of the remaining Sphinx output, like this one. |
Codecov Report
@@ Coverage Diff @@
## develop #347 +/- ##
==========================================
Coverage ? 58.83%
==========================================
Files ? 54
Lines ? 4273
Branches ? 0
==========================================
Hits ? 2514
Misses ? 1759
Partials ? 0
Continue to review full report at Codecov.
|
|
Yeah I find it quite hard to track down what sphinx complains about. Most of those |
can/util.py
Outdated
| return config | ||
|
|
||
|
|
||
| def choose_socketcan_implementation(): |
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.
This shouldn't be in a doc update PR
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.
This branch that you created quite a while back was a few dozen commits behind develop, and this resulted from the rebase to resolve the conflicts. Was this wrong?
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.
Oh right I didn't notice you were starting with an older branch. Yes this was removed on purpose (in the socketCAN consolidation).
I suggest rebasing on top of develop - either force push over this branch or to another branch.
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.
If it helps I've rebased my original clean up commits on the current develop branch fix-sphinx-errors-rebase
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.
Uhm, I already applied other patches on top of the rebase. Wouldn't it be the simplest to just remove the choose_socketcan_implementation() function?
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.
Sure
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.
Done.
|
Should we ask for help over here: https://github.com/sphinx-doc/sphinx ? |
|
No I don't think there is a problem with sphinx. I think we just haven't been particularly careful with our docs. One additional thing though - we should check the heading levels make sense. In the 2.2.0 release we accidentally included this https://python-can.readthedocs.io/en/2.2.0/development.html#about-the-busabc-class |
|
Okay; I was rather supposing that we ask for how to get more helpful error statements out of Sphinx' build process. Well, was that section really an accident? It is in the Developer's section, which is the right place for that, isn't it? |
|
Oh sure, that's not meant to be! |
|
Does not fix all problems, so #262 remains open. |
@hardbyte I'll fix some errors here based on the work you have already done a few months back, and notify you when I'm done.