Generate documentation from comments