def build_docs(path="./docs/", command="make html"): import fabuild as fb with fab.lcd(path): fb.build_run(command)
def develop(): """Runs `serve` and `regenerate` in parallel.""" import fabuild as fb fb.build_run(serve, async=True) fb.build_run(regenerate)
def run(): import fabuild as fb fab.execute(watch) fb.build_run("cd build; python -m SimpleHTTPServer 8000", keep_alive=1)