def html(): # disable Flask RSTPAGES due to sphins incompatibility os.environ['RSTPAGES'] = 'FALSE' api() man() # build the docs locally and view local("cd docs; make html") cursor_on()
def check(search=""): check_list = [("openstack", "'OS_PASSWORD': '******'"), ("aws", "'EC2_SECRET_KEY': '[a-zA-Z0-9]+'")] for pair in check_list: platform = pair[0] _search = pair[1] _grep(_search, platform) if search: _grep(search, 'CUSTOMIZED_SEARCH') cursor_on()
def html(): # disable Flask RSTPAGES due to sphins incompatibility os.environ['RSTPAGES'] = 'FALSE' banner("API Generation") api() banner("Manual Pages") man() # build the docs locally and view banner("Make the sphinx documentation") local("cd docs; make html") cursor_on()
def stop(server="server"): """sma e as the kill command""" kill(server) cursor_on()