fixed sphinx config generator