DOC : fixed up docs in linking.py