<s> """<STR_LIT>""" <EOL> from functools import partial <EOL> from os import environ <EOL> from os . path import abspath , dirname <EOL> from fabric . api import local , cd <EOL> local = partial ( local , capture = False ) <EOL> ROOT = abspath ( dirname ( __file__ ) ) <EOL> environ [ '<STR_LIT>' ] = ( ( ( environ [ '<STR_LIT>' ] + '<STR_LIT::>' ) if <EOL> environ . get ( '<STR_LIT>' ) else '<STR_LIT>' ) + ROOT ) <EOL> def doc ( kind = '<STR_LIT:html>' ) : <EOL> """<STR_LIT>""" <EOL> with cd ( '<STR_LIT>' ) : <EOL> local ( '<STR_LIT>' % kind ) <EOL> def updoc ( ) : <EOL> """<STR_LIT>""" <EOL> doc ( '<STR_LIT:html>' ) <EOL> local ( '<STR_LIT>' ) </s>
