-
Notifications
You must be signed in to change notification settings - Fork 210
ENH: Cleaner output #187
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
ENH: Cleaner output #187
Conversation
|
Sample log: BTW, anybody ever thought of setting up CircleCI with artifacts so that the build results could be viewed? Might be useful for assessing aesthetic changes. I can set it up if people agree it would be useful. |
Titan-C
left a comment
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.
looks fine to me. Closes #167
sphinx_gallery/docs_resolv.py
Outdated
| line = expr.sub(substitute_link, line) | ||
| fid.write(line.encode('utf-8')) | ||
| print('[done]') | ||
| # This could |
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 comment is out of place
|
Thanks @Titan-C, fixed the comment |
I googled the other day and it does not look like readthedocs supports generating the doc for PRs. That would be great to have CircleCI for PR to quickly double-check the generated docs. |
|
LGTM, merging, thanks a lot! |
This does two things:
Suppresses output when doing
plot_gallery=Falsesaying it took 0 seconds to run a bunch of examples that didn't run. It's not very informative, and it makes the sphinx output very long, thus making things like checking for good sphink markup, bad links, etc. harder (whatplot_gallery=Falseis mostly used for, I assume).Uses
app.status_iteratorfor the last stage of processing where code is embedded. Instead of having tens or hundreds of lines, now the output looks like the rest of sphinx, e.g.: