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
Tweaks to generating the examples gallery #583
Conversation
… time docs are generated, only after rm -rf _build/* rm -f extensions.py rm -f *.dat *.sav *.csv rm -rf examples/* rm -rf ../examples/documentation
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 @newville! I like the idea of not generating the gallery every time even if there are no changes, so I like your Makefile-voodoo. I have left a few small review comments.
Codecov Report
@@ Coverage Diff @@
## master #583 +/- ##
======================================
Coverage 86.5% 86.5%
======================================
Files 11 11
Lines 3252 3252
======================================
Hits 2813 2813
Misses 439 439 Continue to review full report at Codecov.
|
These are all changes to the doc and build scripts for the examples gallery.
I added "Gallery" to the upper-right section of the doc, just to make it more visible.
I tweaked the gallery generation script. In the end, this is mostly adding suppression of warnings.
I also changed the Makefile so that the gallery isn't generated every time
sphinx-build
is run, but only when the gallery is empty (as aftermake clean
).@reneeotten Let me know if any of these seem wrong or you don't like any part of this.
Type of Changes
Tested on
Tested with all the sphinx tools up-to-date from Anaconda Python 3.7