Add script to generate documentation.