Added documentation for the doc command

Text is copied from the readme
perhaps we should copy the installation instructions too?