@task
def serve(port=8000):
    """Simple HTTP server for the docs"""
    import os
    from SimpleHTTPServer import SimpleHTTPRequestHandler
    import SocketServer

    os.chdir("./build/dirhtml")
    httpd = SocketServer.TCPServer(("", port), SimpleHTTPRequestHandler)

    try:
        print "Serving documentation on %d" % port
        httpd.serve_forever()
    except __HOLE__:
        pass
dataset/ETHPy150Open armstrong/docs.armstrongcms.org/fabfile.py/serve