minor: fixing broken links
sphinx: improvements to link resolution and indexing