Setup minimal gallery for Fatiando#282
Conversation
I'll try them out later for the tutorials. But I'll probably try to use notebooks for that so that they can run in Binder.
Need dev version of sphinx-gallery and a forced upgrade to pyface and traits using pip. Also some magic done in Travis config (not tested)
|
Finally got Mayavi plots to work in the gallery: http://www.fatiando.org/tmp-docs/gallery/meshes_grids/prism_model.html This will open the way for a model collection gallery in the future. |
|
Uow this is getting prettier and prettier!! just fixed your broken link, dont get upset hehe |
|
@eusoubrasileiro oops. That's what I get for having 20 tabs open. Thanks! I just need to test if the docs build properly on TravisCI now. I'll leave the gallery with only one example from each package as a guide for future work. We can fill it up on subsequent PRs so it's not concentrated work. New PRs can already add their scripts here instead of the cookbook. |
Was chaining three conditionals in bash if. Guess it's not Python after all.
It's set to false or the PR number. Need to check is != false.
Number folders to choose the order they appear on the gallery (would be alphabetical otherwise).
Doesn't make much sense to put it in the gallery. No pretty plots from that package.
|
OK, this is done. There are only 1-2 examples per package right now. We'll need to add more later but this gets us the infrastructure needed. |
Uses sphinx-gallery to setup a minimal gallery (like the maptlotlib gallery). The idea is to create the basis for the gallery and fill it up with plots in other PRs (ideally with the help of other devs).
Continues the work started in #266.
I posted a temporary example to fatiando.org/tmp-docs so others can have a look.
Checklist:
doc/install.rst,requirements.txt,environment.yml, andREADME.rstmake docslocally)Notification for @fatiando/core-devs