Add Sphinx function documentation for deploy module

This change adds basic Sphinx documentation to the deploy module.

Change-Id: Ia8f04c8bc95ef521192e1ea9fa1a176b4bd58b8a