adds doc string and new command to compiler to write out mdbook documentation in given output directory. doc string can contain a FIG:(app, code) string that calls the app with a fig url and code as strings and returns the URL. it also copies over figs from figs/pkg/ in source directory to src/packages/figs/pkg/ location in mdbook directory so that users can include figures in source code if desirable.
adds doc string and new command to compiler to write out mdbook documentation in given output directory. doc string can contain a FIG:(app, code) string that calls the app with a fig url and code as strings and returns the URL. it also copies over figs from figs/pkg/ in source directory to src/packages/figs/pkg/ location in mdbook directory so that users can include figures in source code if desirable.