fix sphinx references in doc