cherrypick from master, pin Sphinx to 1.2.3
Merge pull request #1509 from stevepiercy/1.3-branch

cherrypick from master, pin Sphinx to 1.2.3