Fix all Sphinx errors and warnings when building the docs