doc: improve links in lib/core