restored sphinx config