add generate_docs.sh to tools