Current setup is messy, in particular since configuration is made inside conf.py setup function:
- A weird conf context passing is performed by calling
jm.init
- chapter zips are generated in code
_static/generated and not _build because at that point if we directly generated them in _build they would be erased by sphinx afterwards