add auto-generation of documentation