docs: make logo integration work with older Sphinx versions