Add a way to automatically generate docs.