Use 'distribute' if available

'distribute' offers more commands to generate docs and upload them

Change-Id: I75481d64dcc4c3f336ebdeb7ff26f880962f9f31
Reviewed-on: http://review.couchbase.org/27055
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>