Add script to generate documentation from .gitmodules file.