Handle optional version argument in *mkdoc*