fix rtfd by removing  sphinxext import
Merge pull request #3826 from Carreau/fixrtfd

Fix rtfd build.