Fixing documentation links and warnings in cosmology

This PR is part of finishing off #1221.