Convert old wiki links to markdown links

perl -p -i -e ' s{\[\[([^]|]+/)?([^]|]+)\]\]}{ $1 ? "$1$2" : sprintf("[%s](%s)", $2, "https://github.com/CPAN-API/cpan-api/wiki/$2") }ge; s/\[\[([^]|]+)\|(.+?)\]\]/[$1]($2)/g ' docs/API-docs.md