Fix documentation links. Also remove some obsolete ones.