add shell script for generating code documentation (script is untested)