#NEWLINE# @ task #NEWLINE# def docs( clean = False , browse = False , watch = False ) : #NEWLINE# #INDENT# 'Build the docs.' #NEWLINE# if clean : #NEWLINE# #INDENT# clean_docs ( ) #NEWLINE# #UNINDENT# run ( ( 'sphinx-build %s %s' % ( docs_dir , build_dir ) ) , echo = True ) #NEWLINE# if browse : #NEWLINE# #INDENT# browse_docs ( ) #NEWLINE# #UNINDENT# if watch : #NEWLINE# #INDENT# watch_docs ( )