-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: avoid warnings ipython 'Code input with no code' #24238
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
DOC: avoid warnings ipython 'Code input with no code' #24238
Conversation
Codecov Report
@@ Coverage Diff @@
## master #24238 +/- ##
=======================================
Coverage 92.21% 92.21%
=======================================
Files 162 162
Lines 51763 51763
=======================================
Hits 47733 47733
Misses 4030 4030
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #24238 +/- ##
=======================================
Coverage 92.21% 92.21%
=======================================
Files 162 162
Lines 51763 51763
=======================================
Hits 47733 47733
Misses 4030 4030
Continue to review full report at Codecov.
|
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.
lgtm (didn't check the logs)
Seems like the {header}
is creating several problems, but I think the only alternative is having the same statements at the beginning of each file, and in my opinion that is worse than the problems so far. Any other idea?
No, not really another idea. It's indeed duplicated content, but on the other hand, also some lines that are hardly ever touched I think. So personally I don't think that this duplication is that of a problem. |
Absolutely agree. Will see if I can monkeypatch sphinx. I'm finishing a PR to build a single documentation page faster, and fail if it has warnings, so we can start fixing them in an efficient way. So would be great to have the line numbers matching, as we'll have to fix plenty of them. |
Need to check in the doc build log if this actually solves some of the warnings like
@datapythonista one annoying thing with the included
{{ header }}
is that the reported line numbers no longer are correct ...