fixing sidebar links with help from sphinx-devs