@task
def html(options):
 subprocess.check_call(['make', 'html'], cwd='doc')
 builtdocs = ((paver.path.path('doc') / options.sphinx.builddir) / 'html')
 options.html.builddir.rmtree()
 builtdocs.copytree(options.html.builddir)

@ task def html ( options ) : subprocess . check_call ( [ 'make' , 'html' ] , cwd = 'doc' ) builtdocs = ( ( paver . path . path ( 'doc' ) / options . sphinx . builddir ) / 'html' ) options . html . builddir . rmtree ( ) builtdocs . copytree ( options . html . builddir )
build html documentation .