[sphinx] Fix warnings