added script to generate documentation (issue #8)