Compile swig templates and json to htmls