fix doc generation
remove mention of main_loop