Modify sphinx-doc loading after defining it as a minor mode