fix docs compatibilty problem with Sphinx>=5.0.0
fix docs compatibilty problem with Sphinx>=5.0.0

inveniosoftware/invenio-communities,inveniosoftware/invenio-communities,inveniosoftware/invenio-communities,inveniosoftware/invenio-communities