added support for 'invoke docs -b' for linux users

This does not need to be an invoke task. In fact, this probably doesn't need to be a separate function.