7 Sep
2011
7 Sep
'11
5:44 p.m.
Hi,
I have started working on a script for generating something like the famous matplotlib gallery for sfepy examples. The examples page [1] is already usable, although there are some issues to solve, to name a few:
- failed examples produce no images, but there is still the link
- some directories need to be skipped
- latex version of the docs fails compiling without errors
- example docstrings are not included yet (need to add them to all examples first!)
Usage of the script on linux for those willing to try it:
./script/gen_gallery.py cp -ra gallery/examples/ doc/ cd doc make html firefox _build/html/index.html
Due to some issues with offscreen rendering a window pop-ups when generating the images - set it to "keep below others" if your window manager allows that
That's it. Comments, suggestions, improvements etc. welcome!
r.