chore(ngdoc): fix version number parsing for doc version switcher