Fixing all Sphinx reference errors