#NEWLINE# @ task ( 'sphinx_generate_documentation' , 'Generates documentation with sphinx' ) #NEWLINE# @ depends ( 'prepare' ) #NEWLINE# def sphinx_generate( project , logger ) : #NEWLINE# #INDENT# 'Runs sphinx-build against rst sources for the given project.\n    ' #NEWLINE# task_name = getattr ( sphinx_generate , NAME_ATTRIBUTE ) #NEWLINE# build_command = get_sphinx_build_command ( logger ) #NEWLINE# run_sphinx_build ( build_command , task_name , logger , project )