add route for documentation change config and rebuild structure and add console command to generate